您好,欢迎来到希尚科技。
搜索
您的当前位置:首页MySQL:mysqlisnotrunningbutlockexists的解决方法

MySQL:mysqlisnotrunningbutlockexists的解决方法

来源:希尚科技


下面可以参考下面的方法步骤解决。

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 © 2019- xue63.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务