How to fix DBCACHE: exit 11 error with cPanel and MariaDB


Updating MariaDB to v10.2.35 or v10.3.26 may hinder select sites to be inaccessible and the MySQL Database interface within cPanel may populate “The MySQL server is currently offline.”



As of 2020-11-06, cPanel development team has released an autofixer to address this issue. If you are experiencing this problem now, though, you may run the following autofixer script as root:


/scripts/autorepair fix_mariadb_show_grants_roles