MySQL启动报错 The server quit without updating PID file 解决方案

 

MySQL启动报错 The server quit without updating PID file 解决方案

原因分析:上一次关机前未正常关闭MySQL

解决方案:删除进程锁文件 /var/lock/subsys/mysql 

service mysqld start
Starting MySQL...[ERROR] The server quit without updating PID file (/usr/local/mysql/data/mysqld.pid). 

service mysqld status
MySQL is not running, but lock file (/var/lock/subsys/mysql[失败]ts

rm /var/lock/subsys/mysql

service mysqld status
MySQL is not running                                       [失败]

service mysqld start
Starting MySQL..                                           [  确定  ]

 

posted @ 2020-12-01 09:38  山间一棵松  阅读(5725)  评论(0编辑  收藏  举报