Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'Database Discussion' started by Yugo Pangestu, Sep 8, 2015.

  1. Yugo Pangestu

    Yugo Pangestu Registered

    Joined:
    Mar 10, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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

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

    Help me please ... :(
     
  2. MilesWeb

    MilesWeb Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2012
    Messages:
    173
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    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 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice