ERROR! The server quit without updating the PID file (/var/lib/mysql/hostname.com.pid)

Yugo Pangestu

Registered
Mar 10, 2015
1
0
1
Indonesia
cPanel Access Level
Website Owner
I had an error in mysql ..
please help me because all of the database is not in backup.
I restart mysql after performing an error like this
service mysql start

[email protected][/ home] # service mysql start
Starting MySQL .. ERROR! The server quit without updating the PID file (/var/lib/mysql/hostname.com.pid).
[email protected][/ home] #

Help me please ... :(
 

MilesWeb

Well-Known Member
PartnerNOC
May 23, 2012
173
2
68
India
cPanel Access Level
Root Administrator
Twitter
Hi Yogu, Welcome to cPanel forums.

Kindly have a check at MySQL log file which is under /var/lib/mysql directory. The time you restart MySQL service, it should poll the errors. It will help you to troubleshoot the issues further.

BTW, was the server rebooted recently OR a unclean shutdown/restart performed ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello :)

Yes, as mentioned, you can review /var/lib/mysql/$hostname.err when restarting MySQL to determine the specific error message that's preventing MySQL from starting. Feel free to post that error message in CODE tags here so we can help you troubleshoot the issue.

Thank you.