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.

No valid mysql.sock file - but its there

Discussion in 'General Discussion' started by Stuck, Jan 14, 2005.

  1. Stuck

    Stuck Member

    Joined:
    Jan 13, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hey,
    Getting this error when I try to anything to do with mysql
    mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed")

    The .sock file is there so I am not sure what is wrong
     
  2. nvance

    nvance Member

    Joined:
    Jan 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    ım getting the same error ther is something wrong with cpanel.Myserver started to not work correctly eximstats fail mysql fail smae error something is going on
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    I got the same error on my two new servers, I am working on it now...
     
  4. Donna

    Donna BANNED

    Joined:
    Feb 15, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Toronto, Canada
    rm -rf mysql.sock
    ln -s /var/lib/mysql/mysql.sock
    reboot
     
  5. nvance

    nvance Member

    Joined:
    Jan 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    guys my server provider fix the isssue. he inlstaled mysql ocouple times I dont know how he doit but he fix it.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's fine, but there is no need to reboot whatsoever. Just make sure you stop mysql and kill any mysqld processes if they don't die, then restart mysql.
     
  7. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    Usually hitting the restart mysql in WHM a few times will fix it. If not, resort to manually killing all of mysql and starting it.
     
Loading...

Share This Page