MySQL 8.0 is finished. Oracle’s release notes state that as of April 2026, with version 8.0.46, MySQL 8.0 reached end of life, and they encourage users to move to the MySQL 8.4 LTS release or an Innovation release. A server still on 8.0 keeps running, but it no longer gets fixes, security ones included.
If your websites are on shared or WordPress hosting, your host takes care of this. If you run your own VPS or dedicated server with cPanel & WHM, the upgrade is yours to do. WHM has a built-in way to move to MySQL 8.4, and most of the work is in the checks before you click the button. This guide walks through them.
Check which version you are running
Log in to the server over SSH as root and run:
mysql -V
WHM also shows the installed version in Database Services » Upgrade Database Version. If it says MySQL 8.4 or MariaDB, this article is not about your server. If it says MySQL 8.0, read on.
What WHM offers
According to cPanel’s Upgrade Database Version documentation, the interface offers MySQL 8.0 and MySQL 8.4, plus MariaDB 10.5, 10.6, 10.11 and 11.4. The same page sets out some limits that matter before you start:
- No downgrades. WHM does not support moving back to an older version. If something goes wrong, the way back is restoring a backup.
- No switch from MySQL 8 to MariaDB 10.x. cPanel states the versions are incompatible. If you are on MySQL 8.0, MySQL 8.4 is the straightforward path.
- CloudLinux MySQL Governor. If MySQL Governor is installed, upgrades through this interface do not work. Follow CloudLinux’s own Governor documentation instead.
- sha256_password is not supported by cPanel for MySQL 8.0 or 8.4.
What changes in MySQL 8.4
MySQL’s What Is New in MySQL 8.4 and Changes in MySQL 8.4 pages list everything. These are the items that most often catch out a hosting server:
mysql_native_password is off by default
The old mysql_native_password authentication plugin is deprecated and no longer enabled by default in 8.4. Database users that still use it cannot log in until you enable it again, and websites using those users will show database connection errors. Servers that have hosted sites for years usually have many such users, because older applications and account migrations created them.
The plugin can be turned back on with this line in the [mysqld] section of /etc/my.cnf:
mysql_native_password=ON
Plan to move users off it over time. MySQL’s documentation says the plugin is removed entirely in MySQL 9.0.
default_authentication_plugin has been removed
The default_authentication_plugin setting was deprecated in 8.0.27 and is removed in 8.4, replaced by authentication_policy. MySQL refuses to start with an option it does not recognise, so a leftover default-authentication-plugin= line in /etc/my.cnf has to come out before the upgrade.
New InnoDB defaults
Several server defaults changed. For example, innodb_adaptive_hash_index is now OFF, innodb_change_buffering is none, innodb_io_capacity rises from 200 to 10000 and innodb_log_buffer_size from 16 MB to 64 MB. Settings you have written into my.cnf yourself still apply; the new defaults only affect what you have not set.
Spatial indexes
MySQL recommends dropping spatial indexes before upgrading to 8.4.4 or later and re-creating them afterwards. Most WordPress and WHMCS databases do not use them, but check if you run mapping or location software.
Before you upgrade
- Take a full backup. Snapshot the VPS if your provider offers it, and also dump every database to a file:
Copy both files off the server.mysqldump --all-databases --single-transaction --routines --events \ > /root/all-databases-before-8.4.sql cp -a /etc/my.cnf /root/my.cnf.before-8.4 - Find users on the old plugin:
If the list is not empty, addmysql -e "SELECT user, host FROM mysql.user WHERE plugin = 'mysql_native_password';"mysql_native_password=ONunder[mysqld]in/etc/my.cnfnow, so it is in place when 8.4 starts. - Remove
default-authentication-pluginfrom/etc/my.cnf, or comment it out with#. - Run the checker. In Upgrade Database Version, click Install and Run Checker to start the MySQL Upgrade Checker Utility. Fix what it reports, then click Re-Run Checker until it is clean.
- Pick a quiet time. MySQL restarts during the upgrade, so every site on the server loses its database for a while.
Upgrade to MySQL 8.4 in WHM
- In WHM, open Database Services » Upgrade Database Version.
- Select MySQL 8.4 and click Continue. WHM shows warnings and validates
/etc/my.cnf. - Tick each warning to confirm you have read it, then click Continue.
- Choose Unattended Upgrade, or Interactive Upgrade if you want to step through each stage, and click Continue.
- Wait for the final message, which says whether the upgrade succeeded or lists errors to fix. The full log is saved as
/var/cpanel/logs/mysql_upgrade_log.YYYYMMDD-hhmmss.
After the upgrade
- Run
mysql -Vand check that it reports 8.4. - Open your busiest sites, log in to WordPress and WHMCS admin areas, and submit a form or two.
- Check the MySQL error log for
Access deniedor plugin errors. Errors that mentionmysql_native_passwordmean the setting from step 2 is missing. - Test a cPanel account backup and restore. cPanel has a known issue where transfers and restores fail to recreate database users that use
caching_sha2_password, and its suggested workaround on MySQL 8.4 ismysql_native_password=ON.
Frequently asked questions
When did MySQL 8.0 reach end of life?
Oracle’s MySQL 8.0 release notes say it reached end of life in April 2026, with version 8.0.46 as the last release.
Will my server stop working on MySQL 8.0?
No. It keeps running, but it no longer receives fixes, including security fixes, so you should plan the upgrade.
Can I switch from MySQL 8.0 to MariaDB in WHM?
cPanel says you cannot upgrade MySQL 8 to MariaDB 10.x because of incompatibilities, and WHM does not support downgrades. For a server on MySQL 8.0, the supported route is MySQL 8.4.
Why do my sites show “Access denied” after upgrading to MySQL 8.4?
Usually their database users authenticate with mysql_native_password, which 8.4 disables by default. Add mysql_native_password=ON under [mysqld] in /etc/my.cnf and restart MySQL.
Can I roll back to MySQL 8.0 if something breaks?
Not through WHM. The only way back is restoring the backup or snapshot you took before the upgrade, which is why that step comes first.
Need the upgrade done for you?
On our shared hosting and WordPress hosting, the database server is ours to look after, so you do not need to do any of this. If you run your own VPS with cPanel, our server management team can take the backups, run the checks and carry out the MySQL 8.4 upgrade, then test your sites afterwards.
Tags:
Related articles
How to restore a file, database or email account from JetBackup 5 in cPanel
Restore one file, a database with its user, a mailbox or the whole account from cPanel.
Read More →PHP 8.2 support ends on 31 December 2026: how to move WordPress to PHP 8.4 or 8.5 in cPanel
Move a WordPress site to PHP 8.4 or 8.5 in cPanel, test it safely, and switch back in one step if something breaks.
Read More →



