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.

/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:
    6
    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:
    6
    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