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!

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:
    51
    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:
    56
    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:
    460
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Also check if mysql.sock is present under /var/lib/mysql and it's symlink under /tmp.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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