exists,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
Tags:  exists

延伸阅读

最新评论

发表评论