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,
458c978
# customize your systemd unit file for mysqld/mariadb according to the
7a5573f
# instructions in http://fedoraproject.org/wiki/Systemd
7a5573f
458c978
# Currently, there are mariadb and community-mysql packages in Fedora.
458c978
# This particular config file is included in respective RPMs of both of them,
458c978
# so the following settings are general and will be also used by both of them.
458c978
# Otherwise the RPMs would be in conflict.
458c978
# Settings for particular implementations like MariaDB are then
458c978
# defined in appropriate sections; for MariaDB server in [mariadb] section in
458c978
# /etc/my.cnf.d/server.cnf (part of mariadb-server).
458c978
# It doesn't matter that we set these settings only for [mysqld] here,
458c978
# because they will be read and used in mysqld_safe as well.
c48a49a
log-error=@LOG_LOCATION@
c48a49a
pid-file=@PID_FILE_DIR@/@DAEMON_NAME@.pid
7a5573f
458c978
[mysqld_safe]
458c978
7a5573f
#
7a5573f
# include all files from the config directory
7a5573f
#
7a5573f
!includedir /etc/my.cnf.d
7a5573f