How to Fix the “mysql has failed” Error on a cPanel Server
cPanel says mysql has failed and will not recover? Find the cause in the MySQL error log and fix the common ones: full disk, memory, crashes and bad updates.
Work through database errors, email delivery, and account configuration.
6 guides
cPanel says mysql has failed and will not recover? Find the cause in the MySQL error log and fix the common ones: full disk, memory, crashes and bad updates.
Websites show “Server sent charset (255) unknown to the client” after moving to MySQL 8? Upgrade PHP, or set a utf8mb4 default in my.cnf for old PHP sites.
Emails bounce with “message has lines too long for transport”? Raise Exim's line length limit in WHM, and add it to smarthost transports such as MailChannels.
Send a cPanel server's outgoing email through MailChannels: install the WHM plugin, add your API key and SMTP password, set SPF and Domain Lockdown, and test.
Email accounts vanished from cPanel but the mail is still on the server? Restore the domain's shadow and passwd files, rebuild the cache, and reset passwords.
An old app fails with “Incorrect integer value” or “Data too long”? Remove STRICT_TRANS_TABLES from sql_mode in /etc/my.cnf on MySQL or MariaDB, safely.