The MySQL server is currently offline admin bin Cpanel/cpmysql/DBCACHE: exit 11

The error message...

 The MySQL server is currently offline admin bin Cpanel/cpmysql/DBCACHE: exit 11 means that the MySQL server is not currently running. This can happen for a number of reasons, such as:

 

  • The MySQL server has been shut down.
  • The MySQL server has crashed.
  • There is a problem with the MySQL configuration.

The MySQL server is currently offline.

adminbin Cpanel/cpmysql/DBCACHE: exit 11

 

This can be related to a couple of issues including a bad Mariadb update. Often the following command will correct the issue:

 

    /scripts/autorepair fix_mariadb_show_grants_roles

 

If this does not resolve the error, please contact Ultra support.

 

If you have command line access you can try the following steps to resolve the error...

Check the status of the MySQL server. You can do this by running the following command:

sudo systemctl status mysql


If the MySQL server is not running, you can start it by running the following command:

sudo systemctl start mysql


Check the MySQL configuration file. The MySQL configuration file is typically located at /etc/my.cnf. You can open this file in a text editor and check for any errors.


Restart your web server. Once you have fixed the MySQL configuration, you will need to restart your web server. This will ensure that the changes are applied.

 

 

 

  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

How can I find my MariaDB - MySQL version?

Method 1: Through cPanel   Log in to your Ultra Web Hosting account. Click on the cPanel...

Premature end of script headers

The error message Premature end of script headers means that the PHP script stopped executing...

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...

How do I update my version of PHP?

PHP needs to be updated. What do I do?We make changing your version of PHP easy. Simply login to...

Useful CSV to MySQL Script

The link below is a great tool we have run into for converting CSV files into MySQL format:CSV to...