Hi dear,
解决方法如下:
I have facing the same thing and finally got the solution.This was the error:-service mysql statusERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) existsAfter getting this error, just follow the following steps:1- rm /var/lock/subsys/mysqlrm: remove regular empty file ‘/var/lock/subsys/mysql’? y (Press 'y')2-/etc/init.d/mysql startStarting MySQL....................................................................................................3- In case you got the error again like "ERROR! The server quit without updating PID file (/mysql/data/kalsym.com.pid)."
再在本网站搜 " The server quit without updating PID file"
" ps -ef | grep mysql "Kill all mysql processand repeat the Step 1 & 2. This should resolve the issue.NOTE: Check your disk space as wellThanks
来自 https://www.centos.org/forums/viewtopic.php?t=62154