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那重新拷贝了一份新的,启动成功。。。。。。。

 

posted @ 2019-12-18 16:18  好好搬砖  阅读(1545)  评论(0编辑  收藏  举报