Solution: "MySQL is running but PID file could not be found"

If sometime, mysql status shows that "ERROR! MySQL is running but PID file could not be found", after checking the mysql status like below:
etc/init.d/mysql status
ERROR! MySQL is running but PID file could not be found


To solve this issue, please kill all the mysql daemon.
ps aux | grep mysql
kill -9 pid1 pid2 ...
Now start the mysql,
/etc/init.d/mysql start 

Comments

Popular posts from this blog

attach file gives false disk address path as 'C:/fakepath/filename'

How to fix World-writable config file /etc/my.cnf is ignored?

Ajmer tour on 18th June '11