MySQL not starting error pid quit without updating CentOS Print

  • 2

The error will loke something like this:

Starting MySQL. ERROR! Manager of pid-file quit without updating file.

First check if their are MySQL processes still running:

ps aux | grep mysql

You will see that some processes still running (thats why mysql won`t start):

root@server [~]# ps aux | grep mysql
root      1140  0.0  0.0   4140   676 pts/0    D+   22:34   0:00 grep mysql
root      2987  0.0  0.0   4736  1288 ?        S    Sep27   0:00 /bin/sh /usr/bin/mysqld_safe

Just kill the processes:

kill -9 2987

re-check the grep mysql function, if nothing is running please run command:

service mysqld restart

If it still not working try this:

killall -9 mysql mysqld
service mysql restart

Please check also your MySQL logs:

tail -f /var/log/mysqld.log

Was dit antwoord nuttig?

« Terug