MySQL is not running, but lock file

服务器重启后,重启MySQL报错,查看mysql status 提示ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql);

启动mysql提示   The server quit without updating PID file 

中间操作不说了,最终解决方式   是把 /etc/my.cnf 配置文件从support-files那重新拷贝了一份新的,启动成功。。。。。。。

原文地址:https://www.cnblogs.com/zhylog/p/12060467.html