Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    71

    Default MySQL Dead

    MySQL server appears down. Trying to restart it in WHM I get the following error:

    /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 "mysql has failed").

    Any ideas?

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by ramorse View Post
    MySQL server appears down. Trying to restart it in WHM I get the following error:

    /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 "mysql has failed").

    Any ideas?
    Please open a ticket @ https://tickets.cpanel.net/submit/
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    71

    Default

    I have submitted a support ticket. Thanks.

  4. #4
    Member
    Join Date
    Mar 2008
    Location
    Karachi,Pakistan
    Posts
    49

    Default linux thirst

    Hello ,

    The possible issues with your mysql may be:

    --> permission issue at /var/lib/mysql/
    /usr/lib/mysql

    --> link is not present at /tmp

    --> mysql processes are messed

    can you kindly come ahead with more info on this

    Quote Originally Posted by ramorse View Post
    MySQL server appears down. Trying to restart it in WHM I get the following error:

    /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 "mysql has failed").

    Any ideas?

  5. #5
    Member apscinsspl's Avatar
    Join Date
    Mar 2008
    Posts
    112

    Default

    To start mysql if everthing fails


    killall -9 mysqld
    cd /etc/rc.d/init.d
    safe_mysqld --skip-grant-tables &
    CTRL+C
    mysqladmin status

Similar Threads & Tags
Similar threads

  1. mysql lost without dead. strange!
    By lukeot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-22-2008, 05:59 PM
  2. Help MYSQL is dead and refuses to restart
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 07-05-2007, 01:58 AM
  3. MYSQL Dead After UPCP
    By WillBlack in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-25-2006, 01:32 PM
  4. de dead?
    By hostcp3 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-07-2003, 06:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube