Back to Blog
Hosting 10 min readIncident Report

cPanel MySQL Servers Auto-Upgraded to 9.7: What Happened and How to Recover

In April 2026, thousands of cPanel servers silently upgraded to MySQL 9.7 — an Innovation release not designed for production. Sites broke. Databases crashed. Here's the full story and a step-by-step recovery guide.

AM
Alex Morgan
Infrastructure Engineer, MevoHost
Apr 22, 2026 10 min read

Active Incident — April 2026

This is a live incident guide. cPanel's automated updater pushed MySQL 9.7 (an Innovation release) to production servers during April 2026. If your sites are down or databases are throwing errors, you're in the right place.

Site down from the MySQL 9.7 upgrade?

MevoHost can diagnose and recover your database — usually within the hour.

Fix My Site

What Happened

In mid-April 2026, cPanel's automated update system began pushing MySQL 9.7 to servers enrolled in automatic MySQL updates — affecting an estimated tens of thousands of shared and VPS hosting environments running cPanel/WHM.

The root cause: cPanel's updater queries the MySQL download repository for the "latest" version and applies it without distinguishing between Oracle's two release tracks — LTS (Long-Term Support) and Innovation. MySQL 9.7 is an Innovation release, meaning it's designed for rapid feature testing, not production stability.

The result was predictable: sites that worked fine on MySQL 8.0 LTS began throwing database connection errors, query failures, and authentication issues within minutes of the upgrade completing.

Incident Timeline
Apr 14–16, 2026

cPanel releases an updater that pulls MySQL 9.7 from the official Oracle repository

Apr 17, 2026

First wave of server upgrades begins — servers with auto-update enabled upgrade overnight

Apr 18, 2026

Support tickets spike across major hosts; WordPress sites, WooCommerce stores, and cPanel apps begin failing

Apr 19–20, 2026

cPanel acknowledges the issue and pauses the automatic MySQL updater for affected builds

Apr 21, 2026

cPanel releases an advisory and documents the manual downgrade path via WHM

Apr 22, 2026

Patch released — cPanel updater now filters Innovation releases from auto-upgrade eligibility

MevoHost servers were not affected

MevoHost's managed infrastructure runs MySQL/MariaDB updates through a staged approval process. Innovation track releases are blocked from production rollout. All MevoHost servers remained on MySQL 8.0 LTS or MariaDB 10.6 throughout this incident.

Why MySQL 9.7 Breaks Things

MySQL 9.x sits on the Innovation release track — Oracle's fast-iteration channel that ships new features every few months. These releases are not backward-compatible with the 8.0 LTS ecosystem, and several key changes cause immediate breakage on shared hosting environments:

Authentication Plugin Change

Critical

MySQL 9.7 defaults to caching_sha2_password for all new connections. Many PHP versions and older MySQL client libraries expect mysql_native_password, causing "Authentication plugin not supported" errors.

Removed SQL Functions

High Impact

Several functions deprecated in MySQL 8.0 were removed in 9.x — including old GROUP BY shortcuts and certain JSON path expressions used by plugins and legacy applications.

Strict SQL Mode Changes

High Impact

MySQL 9.7 enforces ONLY_FULL_GROUP_BY and NO_ZERO_DATE more aggressively. Plugins with date fields or GROUP BY shorthand that passed on 8.0 now throw 1055 and 1292 errors.

InnoDB Config Defaults

Medium Impact

Changed defaults for innodb_buffer_pool_size and innodb_redo_log_capacity can cause memory pressure or unexpected performance degradation on VPS instances with under 2GB RAM.

The short version: MySQL 9.7 is an Innovation release, not a production release. It was never intended for shared hosting environments. The safest and fastest fix is a downgrade back to MySQL 8.0 LTS or MariaDB 10.6 LTS.

Are You Affected?

Run these checks to confirm your MySQL version and identify which sites are impacted before attempting a recovery.

Check Your MySQL Version

SSH into your server and run:

Terminal (SSH)
mysql --version
# or
mysql -u root -p -e "SELECT VERSION();"

If the output shows 9.7.x, your server was upgraded. Anything showing 8.0.x, 8.4.x, or 10.x.x (MariaDB) means you were not affected.

Check in WHM

1
Log into WHM
Go to https://yourserver.com:2087 and log in as root
2
Navigate to MySQL
Go to SQL Services → MySQL/MariaDB Upgrade
3
Check current version
The "Currently Installed" field will show your active MySQL version

Common Error Signatures

Check your site's error logs. These messages confirm a MySQL 9.7 compatibility failure:

Error log signatures
# Authentication failure
PDOException: SQLSTATE[HY000] [2054] The server requested
authentication method unknown to the client

# Removed function
Error Code: 1305. FUNCTION db.OLD_PASSWORD does not exist

# Strict mode GROUP BY
Expression #1 of SELECT list is not in GROUP BY clause
and contains nonaggregated column (Error 1055)

# Connection refused (InnoDB crash on startup)
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'

Option 1: Downgrade to MySQL 8.0 LTS (Recommended)

This is the fastest recovery path for most affected servers. cPanel's WHM upgrade tool supports switching between MySQL versions — including switching back to an older version.

Take a full backup first

Before any MySQL version change, back up all databases: mysqldump --all-databases > full-backup.sql. This takes 2–5 minutes and protects you if anything goes wrong.

01

Backup all databases

  1. 1SSH in as root: ssh root@yourserver.com
  2. 2Run: mysqldump --all-databases --single-transaction > /root/mysql-backup-$(date +%F).sql
  3. 3Confirm the backup file size is reasonable (not 0 bytes)
02

Open WHM MySQL Upgrade Tool

  1. 1Log into WHM as root
  2. 2Navigate to: SQL Services → MySQL/MariaDB Upgrade
  3. 3You will see your current version (9.7.x) highlighted
03

Select MySQL 8.0 LTS

  1. 1From the version list, select MySQL 8.0
  2. 2Click "Next Step" — WHM will warn you this is a downgrade
  3. 3Confirm and click "Upgrade Now"
04

Wait for the downgrade to complete

  1. 1WHM will stop MySQL, swap binaries, and restart the service
  2. 2This typically takes 3–8 minutes
  3. 3Do not close the WHM window or SSH session during this process
05

Run mysql_upgrade and verify

  1. 1After WHM completes, run: mysql_upgrade -u root -p
  2. 2Verify: mysql -u root -p -e "SELECT VERSION();"
  3. 3Should now show 8.0.x — test your sites immediately

Consider MariaDB 10.6 LTS instead

If you're already doing a version switch, MariaDB 10.6 LTS is an excellent alternative. It's fully MySQL 8.0 compatible, offers better performance for WordPress/WooCommerce workloads, and has longer-term vendor support than MySQL 8.0. The WHM upgrade tool supports MariaDB natively.

Option 2: Fix Compatibility Issues (Stay on MySQL 9.7)

If you cannot downgrade — for example, if you have apps that specifically require MySQL 9.x features — these targeted fixes address the most common MySQL 9.7 breakage points.

This path requires more effort

Staying on MySQL 9.7 means auditing every application and plugin for compatibility. For shared hosting environments with many sites, Option 1 (downgrade) is almost always faster.

Fix 1: Re-enable mysql_native_password

Add this to your /etc/my.cnf under the [mysqld] section:

/etc/my.cnf
[mysqld]
# Re-enable legacy auth plugin for PHP compatibility
mysql_native_password=ON
default_authentication_plugin=mysql_native_password

# Relax strict SQL mode for legacy applications
sql_mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

Then restart MySQL:

Terminal
systemctl restart mysqld
# or on some systems:
service mysql restart

Fix 2: Reset User Authentication Plugin

For existing database users already set to caching_sha2_password, reset them to the native plugin:

MySQL CLI
-- Replace 'dbuser' and 'yourpassword' with actual values
ALTER USER 'dbuser'@'localhost'
  IDENTIFIED WITH mysql_native_password
  BY 'yourpassword';

FLUSH PRIVILEGES;

-- To generate the command for ALL users at once:
SELECT CONCAT("ALTER USER '",user,"'@'",host,
  "' IDENTIFIED WITH mysql_native_password BY 'SETPASSWORD';")
FROM mysql.user
WHERE plugin = 'caching_sha2_password';

WordPress-Specific Fixes

WordPress core itself is largely compatible with MySQL 9.7, but plugins that use raw SQL or legacy functions are where the breakage occurs. Here's how to diagnose and fix the most common scenarios:

Enable WordPress Debug Mode First

Add to your wp-config.php to surface hidden database errors:

wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false); // Keep errors out of frontend

// Then check: /wp-content/debug.log

Common Problematic Plugins

Plugins Known to Break on MySQL 9.7

WooCommerce (older extensions)

Some payment gateway extensions use GROUP BY shorthand — update to the latest version or contact the plugin developer

WP All Export / Import

Uses raw SQL with deprecated syntax — version 3.7.2+ is patched

TablePress

Older versions use OLD_PASSWORD() — update to TablePress 2.4+

Events Calendar (The Events Calendar)

Race condition in date queries with NO_ZERO_DATE — version 6.4+ is patched

Gravity Forms (some Add-ons)

Entry export queries use legacy GROUP BY — update all add-ons to latest

BackWPup

Database backup function fails with caching_sha2_password — see Fix 2 above

Run Health Check & Troubleshooting plugin

Install the free Health Check & Troubleshooting plugin from WordPress.org. It can disable all plugins for a single admin session without affecting visitors — helping you identify which plugin is causing database errors.

Prevention Going Forward

Once you've recovered, these steps ensure this never happens again on your server.

Set MySQL updates to Manual in WHM

WHM → Server Configuration → Update Preferences → MySQL/MariaDB → set to Manual. This prevents any automatic version changes — you control when upgrades happen.

Pin your MySQL version

Create or edit /etc/cpanel/mysql/versions and pin your target version. Even with manual updates enabled, this provides a second layer of protection against unexpected version changes.

Subscribe to cPanel security advisories

Monitor support.cpanel.net/hc/en-us/categories/360001130074 for cPanel advisories. Major MySQL incidents are documented there first.

Schedule weekly database backups

Regardless of MySQL version, keep recent backups of all databases. WHM's Backup Configuration can be scheduled under Backup → Backup Configuration. Target at least daily incremental + weekly full.

MySQL Release Track Reference
VersionTrackProduction Safe?Support Until
MySQL 8.0.xLTS✅ YesApr 2026 (EOL — migrate soon)
MySQL 8.4.xLTS✅ Yes (Recommended)2032
MySQL 9.0–9.6Innovation❌ Not for productionNo LTS support
MySQL 9.7Innovation❌ Not for productionNo LTS support
MariaDB 10.6LTS✅ YesJul 2026
MariaDB 10.11LTS✅ Yes (Recommended)Feb 2028

Frequently Asked Questions

Q

Why did cPanel upgrade my MySQL to version 9.7?

cPanel's automated update mechanism picked up MySQL 9.7 as the latest available release and applied it without distinguishing between LTS and Innovation releases. The updater queried the official MySQL repository, found 9.7 as "newest," and applied it. cPanel has since patched the updater to filter Innovation track releases from automatic upgrades.

Q

Can I downgrade MySQL from 9.7 back to 8.0 without losing data?

Yes, in almost all cases. Take a full mysqldump backup first, then use WHM's MySQL/MariaDB Upgrade tool to switch back to MySQL 8.0 or MariaDB 10.6. Run mysql_upgrade afterwards to repair system tables. Data loss only occurs if tables used MySQL 9.7-specific features not in 8.0 — extremely rare for standard WordPress or cPanel sites.

Q

Is MySQL 9.7 stable enough for production hosting?

No. MySQL 9.x is on the Innovation release track — Oracle's rapid iteration channel. Innovation releases lack long-term support, have breaking changes between minor versions, and are not designed for production deployment. Use MySQL 8.4 LTS or MariaDB 10.11 LTS for production servers.

Q

Will my WordPress site work on MySQL 9.7?

WordPress core runs on MySQL 9.7, but many plugins using deprecated SQL functions fail. Common culprits: WooCommerce extensions with old GROUP BY syntax, caching plugins, backup plugins running raw SQL. The safest path is downgrading to MySQL 8.0 or 8.4 LTS until the full plugin ecosystem catches up.

Q

How do I prevent cPanel from auto-upgrading MySQL again?

In WHM: Server Configuration → Update Preferences → set MySQL/MariaDB to Manual. Additionally pin your version in /etc/cpanel/mysql/versions. MevoHost managed hosting customers have Innovation release auto-upgrades blocked at the infrastructure level by default.

cPanel MySQL MySQL 9.7 Database Recovery WHM WordPress Hosting Incident MySQL Downgrade
AM

Alex Morgan

Infrastructure Engineer, MevoHost

Alex leads server infrastructure at MevoHost, overseeing MySQL, MariaDB, and cPanel environments across thousands of customer accounts. He specialises in database performance, upgrade path planning, and incident response.

Enjoyed this article?

Get the next one delivered straight to your inbox — no spam, unsubscribe any time.