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.

Discussion in 'Database Discussion' started by tincho1684, Jan 31, 2015.

  1. tincho1684

    tincho1684 Registered

    Joined:
    Jan 31, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Website Owner
    Hi,

    When I click on "MySQL database" in the Cpanel I get this error:

    Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156. Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156.

    I've read in other threads that some people got a similar error but because they tampered with the password, or changed something, but in my case I didn't change anything.

    How could I solve this issue?

    Thanks in advance :)
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Do you have "root" access to this server? Or, is the /home/$username/.my.cnf file populated for this account?

    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