MySQL: mysql is not running but lock exists 的解决方法


A MySQL crash on Red Hat system resulted with:

/etc/init.d/mysql status

coming back with:

mysql is not running but lock exists


Solved by removing the lock file:

rm /var/lock/subsys/mysql


If this happens again it may also be necessary to remove the pid file from /var/lib/mysql
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3