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.

The MySQL® server is currently offline. ? not starting

Discussion in 'General Discussion' started by abdel112, Apr 14, 2012.

  1. abdel112

    abdel112 Registered

    Joined:
    Apr 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I just did a clean install of cpanel/whm and everything went perfect but when i goto start or restart or anything to do with mysql it just gives me errors or says its not online anything i can do to fix this ?

    Code:
    Waiting for mysql to restart.....finished.
    
    mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/srv1.gamerunleashed.com.pid) running as root with PID 17675 (process table check method)
    mysqld (/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/srv1.gamerunleashed.com.err --pid-file=/var/lib/mysql/srv1.gamerunleashed.com.pid --socket=/var/lib/mysql/mysql.sock) running as mysql with PID 17757 (pidfile check method)
    
    mysql has failed, please contact the sysadmin (result was "mysql is not running").
    Regards
    abdel
     
  2. Oleg.Gricik

    Oleg.Gricik Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Check /var/lib/mysql/servername.err file.
    This is MySQL's error log.
     
  3. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Also check if mysql.sock is present under /var/lib/mysql and it's symlink under /tmp.
     
Loading...

Share This Page