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 YasIT, Jan 3, 2014.

  1. YasIT

    YasIT Active Member

    Jan 3, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    When I go to the MySQL® Databases faced with the following error I get:
    The MySQL server is currently offline.
    Error while connecting to MySQL: #28000Access denied for user 'root'@'localhost' (using password: YES)
    The new server is newly installed.
    But the sites are connected to the database.
    This is the MySQL Root Password of the output:

    MySQL password change failed!!
    A forced reset will now be attempted.
    ..found binary [/usr/sbin/mysqld]..
    Waiting for mysql to terminate.....Done
    Waiting for mysql to restart.....Done
    Waiting for mysql to terminate.....Done
    Restarting MySQL ....
    Waiting for mysql to restart......finished.
    mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/*hostname*.pid) running as root with PID 23436 (process table check method)
    mysqld (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/*hostname*.err --open-files-limit=50000 --pid-file=/var/lib/mysql/*hostname*.pid) running as mysql with PID 23699 (pidfile check method)
    mysql has failed, please contact the sysadmin (result was "mysql is not running").
    The MySQL root password has been changed.
    You have successfully changed “root”’s MySQL password.
    I was transferred to the server with the Restore Databases command was:
    mysql -u root -p -f < fulldbs.sql

    Before the command I chose a root password.
    Please Help
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can try manually resetting the MySQL root password using the instructions from the following post:

    Reset MySQL Root Password

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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