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
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