MySQL PID file missing [closed]

In the end, what I had to run was:

chmod 0777 /var/lib/mysql/ib_logfile0
chmod 0777 /var/lib/mysql/ib_logfile1
chown -R mysql:root /var/lib/mysql

Then service mysqld start worked.


Check for permissions on mysql folder. PID should automatically get created when you start the mysql service. What does the mysql error log say ?