"MySQL is running but PID file could not be found"
Let us see how to fix this error:
- Login to the server as a root user with SSH
- Create the directory var/run/mysql
- Now create file mysqld.pid
and change its ownership to mysql:mysql
#chown mysql:mysql mysqld.pid
- Restart MySQL service and you will see no more error
If any feedback, queries are always welcome!