`
小枫之落
  • 浏览: 18426 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics