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

HTTP Authentication error in PHP

A HTTP Authentication error in PHP occurs when the user is not authorized to access the requested...

Running a PHP file with a cron job

To run a PHP file from cron, use the "cron jobs" section of your control panel. Use the following...

Warning: Unknown(): open_basedir restriction in effect

Basedir restriction is set for security. This most often occurs when you are calling an app...

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...

Error 500 - Internal Server Error - PHP

This can be due to several factors. The first thing to check is that the permissions on the file...