If you encounter the error
"MySQL is running but PID file could not be found"
you have to create the directory
var/run/mysql
#mkdir /var/run/mysql
then create the file mysqld.pid
#touch mysqld.pid
and change its owner
#chown mysql:mysql mysqld.pid
this should solve the problem.