The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Database Discussions' 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:
    174
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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 ?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page