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.

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

Discussion in 'Database Discussions' 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:
    145
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
Loading...

Share This Page