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