Created
April 26, 2017 09:27
-
-
Save serinuntius/3fdcf76adcdf1ad4a3559a3469133040 to your computer and use it in GitHub Desktop.
/etc/my.cnf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
datadir=/var/lib/mysql | |
socket=/var/lib/mysql/mysql.sock | |
# Disabling symbolic-links is recommended to prevent assorted security risks | |
symbolic-links=0 | |
# Settings user and group are ignored when systemd is used. | |
# If you need to run mysqld under a different user or group, | |
# customize your systemd unit file for mysqld according to the | |
# instructions in http://fedoraproject.org/wiki/Systemd | |
slow_query_log=1 | |
long_query_time=0 | |
slow_query_log_file=/var/log/mysql/slow.log | |
general_log_file=/var/log/mysql/general.log | |
[mysqld_safe] | |
log-error=/var/log/mysqld.log | |
pid-file=/var/run/mysqld/mysqld.pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment