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 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:
    1
    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").
     
  2. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    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