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.

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Discussion in 'Database Discussions' started by nabil ragoub, Sep 1, 2015.

  1. nabil ragoub

    nabil ragoub Registered

    Joined:
    Sep 1, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    maroc
    cPanel Access Level:
    Root Administrator
    -Please i have big problem, i have this error
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    -and this log from restart mysql from whm

    Code:
    Log Messages
    150901 07:41:43 mysqld_safe mysqld restarted
    150901 07:41:43 mysqld_safe Number of processes running now: 0
    /usr/sbin/mysqld[0x84cbc2]
    /usr/sbin/mysqld[0x857c7a]
    /usr/sbin/mysqld[0x91b362]
    /usr/sbin/mysqld[0x926bd8]
    /usr/sbin/mysqld[0x9266cf]
    /usr/sbin/mysqld[0x883388]
    /usr/sbin/mysqld[0x8d004b]
    /usr/sbin/mysqld[0x8cfb9a]
    150901 7:41:43 [Note] /usr/sbin/mysqld: ready for connections.
    150901 07:41:42 mysqld_safe mysqld restarted
    150901 07:41:42 mysqld_safe Number of processes running now: 0
    /usr/sbin/mysqld[0x84cbc2]
    /usr/sbin/mysqld[0x857c7a]
    /usr/sbin/mysqld[0x91b362]
    /usr/sbin/mysqld[0x926bd8]
    /usr/sbin/mysqld[0x9266cf]
    /usr/sbin/mysqld[0x883388]
    /usr/sbin/mysqld[0x8d004b]
    /usr/sbin/mysqld[0x8cfb9a]
    150901 7:41:42 [Note] /usr/sbin/mysqld: ready for connections.
    
    mysql has failed. Contact your system administrator if the service does not automagically recover.
    
    
     
    #1 nabil ragoub, Sep 1, 2015
    Last edited by a moderator: Sep 1, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. nabil ragoub

    nabil ragoub Registered

    Joined:
    Sep 1, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    maroc
    cPanel Access Level:
    Root Administrator
    Thanks for your response :)
    Please check the attached Zip
    i wait your replay ^^
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page