2004-09-09 08:54:34 +00:00
|
|
|
[mysqld]
|
|
|
|
datadir=/var/lib/mysql
|
|
|
|
socket=/var/lib/mysql/mysql.sock
|
2010-01-08 16:00:25 +00:00
|
|
|
# Disabling symbolic-links is recommended to prevent assorted security risks
|
|
|
|
symbolic-links=0
|
2013-01-02 20:02:47 +00:00
|
|
|
# Settings user and group are ignored when systemd is used.
|
|
|
|
# If you need to run mysqld under a different user or group,
|
2013-10-11 08:49:46 +00:00
|
|
|
# customize your systemd unit file for mysqld/mariadb according to the
|
2013-01-02 20:02:47 +00:00
|
|
|
# instructions in http://fedoraproject.org/wiki/Systemd
|
2004-09-09 08:54:34 +00:00
|
|
|
|
2013-10-11 08:49:46 +00:00
|
|
|
# Currently, there are mariadb and community-mysql packages in Fedora.
|
|
|
|
# This particular config file is included in respective RPMs of both of them,
|
|
|
|
# so the following settings are general and will be also used by both of them.
|
|
|
|
# Otherwise the RPMs would be in conflict.
|
|
|
|
# Settings for particular implementations like MariaDB are then
|
|
|
|
# defined in appropriate sections; for MariaDB server in [mariadb] section in
|
|
|
|
# /etc/my.cnf.d/server.cnf (part of mariadb-server).
|
|
|
|
# It doesn't matter that we set these settings only for [mysqld] here,
|
|
|
|
# because they will be read and used in mysqld_safe as well.
|
2006-02-09 21:25:10 +00:00
|
|
|
log-error=/var/log/mysqld.log
|
2004-09-09 08:54:34 +00:00
|
|
|
pid-file=/var/run/mysqld/mysqld.pid
|
2013-03-11 16:17:03 +00:00
|
|
|
|
2013-10-11 08:49:46 +00:00
|
|
|
[mysqld_safe]
|
|
|
|
|
2013-03-11 16:17:03 +00:00
|
|
|
#
|
|
|
|
# include all files from the config directory
|
|
|
|
#
|
|
|
|
!includedir /etc/my.cnf.d
|
|
|
|
|