MySQL: Starting MySQL….. ERROR! The server quit without updating PID file
今天启动MySQL 遇见了这个问题,网上搜索,结果各种改文件,删除文件纯属坑爹;在上边的网站上发现了问题的解决方案~
问题描述
1,启动MySQL
systemctl start mysqld
2,发现了下述错误
Starting MySQL… ERROR! The server quit without updating PID file.
3,错误信息很明确的定位你出现的问题
Starting MySQL… ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
解决方案:
1、删除你的配置文件
mv /etc/my.cnf /etc/my.cnf.backup
2、重启mysql服务
systemctl start mysqld