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!

/var/lib/mysql/mysql.sock doesn't exist

Discussion in 'General Discussion' started by moogle, Aug 10, 2003.

  1. moogle

    moogle Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    156
    The file:
    /var/lib/mysql/mysql.sock

    Doesn't exist on one of my servers. Restarting apache does not help and although the symlinks are still there.. they have nothing to link to.

    How can I get this file back?

    cPanel.net Support Ticket Number:
     
  2. DHL

    DHL Well-Known Member

    Joined:
    Mar 8, 2002
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    306
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

    if you php is looking for /var/tmp - check from phpinfo then

    ln -s /var/lib/mysql/mysql.sock /var/tmp/mysql.sock

    Hope that helps.

    cPanel.net Support Ticket Number:
     
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