- [mysqld]
- datadir=/www/server/data
- socket=/www/server/data/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 mariadb according to the
- # instructions in http://fedoraproject.org/wiki/Systemd
- [mysqld_safe]
- log-error/www/server/data/mariadb.log
- pid-file=/www/server/data/mariadb.pid
- #
- # include all files from the config directory
- #
- !includedir /etc/my.cnf.d
复制代码 把my.cnf改成了这个,然后提示
|