# 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]skip-grant-tables#mysql安装目次basedir=/usr/local/mysql5.7#mysql数据库目次datadir=/usr/local/mysql5.7/dataport = 3307[mysqld_safe]#错误日志log-error=/usr/local/mysql5.7/data/error.log#pid文件pid-file=/usr/local/mysql5.7/data/mysqld.pidtmpdir=/tmp/mysql5.7## include all files from the config directory##!includedir /etc/my.cnf.d