配置文件默认读取顺序:
1.Starting MySQL… ERROR! The server quit without updating PID file (/usr/local/mysql/data/centos7-1810.pid).s
日志如下:
方法:chown -R mysql.mysql /var/lib/mysql
2.Starting MySQL… ERROR! The server quit without updating PID file (/usr/local/mysql/data/centos7-1810.pid)
操作1.再次执行初始化:./mysql_install_db --user=mysql --ldata&