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!

Mysql crashed

Discussion in 'General Discussion' started by 1001studio, Mar 6, 2006.

  1. 1001studio

    1001studio Registered

    Joined:
    Apr 28, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hia ll,

    it's a new server and mysql donen't want to run
    Tried to start without success. It seems that mysql.sock doesn't exist. Not in /var/lib/mysql not in /var/tmp
    mysqld seems not exist
    this is the output after /scripts/restartsrv mysql

    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
    mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    166
    try

    killall mysqld
    killall -9 mysqld

    /etc/init.d/mysql start
     
    #2 demomen, Mar 6, 2006
    Last edited: Mar 6, 2006
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