The MySQL server is currently offline

YasIT

Active Member
Jan 3, 2014
38
0
6
cPanel Access Level
Root Administrator
Hello,
When I go to the MySQL® Databases faced with the following error I get:
Code:
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:

Code:
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").
Done
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

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

Reset MySQL Root Password

Thank you.