/* 配置文件*/ #/etc/my3307.cnf [mysqld] bind-address = 0.0.0.0 default_time_zone = '+8:00' #system-time_zone ='+8:00' log_timestamps=system datadir=/home/mysql3307 socket=/home/mysql3307/mysql.sock pid-file=/home/mysql3307/mariadb.pid # 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 mariadb according to the # instructions in http://fedoraproject.org/wiki/Systemd
log-error=/home/mysql3307/log general_log=on general_log_file=/home/mysql3307/general_log log_output=TABLE slow_query_log= on slow_query_log_file=/home/mysql3307/slow_query_log long_query_time=3 #log_bin=/home/binlog3307/binlog #pid-file=/home/mysql/mariadb.pid
# # include all files from the config directory # !includedir /etc/my.cnf.d