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.

The MySQL server is currently offline

Discussion in 'Database Discussions' started by YasIT, Jan 3, 2014.

  1. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page