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 do I change my PHP settings?

How do I change my PHP / PHP.INI settings?To change your PHP settings, just login to your hosting...

Learn About MariaDB

MariaDB is a fork of MySQL, which was created by Michael "Monty" Widenius. MySQL was acquired by...

Disable MySQL strict mode on cPanel server

here are the steps on how to disable MySQL strict mode on a cPanel server:   Log in to your...

Clean - Shrink ibdata1

To shrink ibdata1 once and for all you must do the following:MySQLDump all databases into a SQL...

Premature end of script headers

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