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.

MySQL Failing

Discussion in 'General Discussion' started by Millar, Dec 27, 2006.

  1. Millar

    Millar Active Member

    Joined:
    Dec 23, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    My MySQL isn't working, on attempted restart, get this error..
    /var/lib/mysql/mysql.sock doesn't exist, is there another location where it does exist? or anyway to create it again?
     
  2. stankdawg

    stankdawg Registered

    Joined:
    Nov 5, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    bumped

    I am having this as well so I am bumping this thread. It seems intermittent.

    I have followed multiple suggestions from this forums and the FAQ (worthless advice... "Is mySQL running?" OBVIOUSLY NOT if we have this error message!). I cannot find the file anywhere on the server. I looked in the default locations according to mysql documentation.

    How and where do I recreate it? I certainly did not delete it myself.
     
  3. dafut

    dafut Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    The mysql.sock file is created when mysql starts. If one exists because mysql crashed then this can prevent mysql from starting.

    Look in /tmp or /var/tmp. If you see a "mysql.sock -> ../../var/lib/mysql/mysql.sock= " then delete it.

    Then try starting mysql.
     
Loading...

Share This Page