首页 > 数据库 > MySQL > 正文

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

2024-07-24 13:04:07
字体:
来源:转载
供稿:网友
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
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表