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..                                           [  确定  ]

 

相关文章:

  • 2021-07-29
  • 2021-12-09
  • 2022-12-23
  • 2021-06-26
  • 2021-06-12
  • 2022-12-23
  • 2021-06-23
  • 2021-12-20
猜你喜欢
  • 2021-06-09
  • 2021-11-02
  • 2021-12-12
  • 2021-07-28
  • 2021-07-31
  • 2022-12-23
  • 2021-06-05
相关资源
相似解决方案