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!

I have an issue, "MySQL is currently offline. Failed: Too many connections..."

Discussion in 'Database Discussion' started by sixfigs, Dec 5, 2014.

  1. sixfigs

    sixfigs Registered

    Joined:
    Dec 5, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    A few of my sites are down and all with the same error:


    "The****MySQL****server****is****currently****offline


    Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Too many connections at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156. Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Too many connections at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156."

    I have access to WHM, but know nothing about MySQL or what this means. Does anyone have any ideas?
     
  2. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    143
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hello,

    Since your access level is seen as website owner, you might need to ask your hosting provider to check this for you.
    You will need root password to find/fix the issue with MySQL being down.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you have root access to WHM or are you a reseller? If you have root access, please post the output from the following command:

    Code:
    cat /etc/my.cnf
    Thank you.
     
    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