Skip to content
PatchTempo

GUIDE · MYSQL

MySQL 8.0 end of life: what to do now

Oracle stopped fixing MySQL 8.0 in April 2026. How urgent that is depends on where your MySQL runs. Here is who still patches it, how to move to MySQL 8.4, and what usually breaks on the way.

GuidesPublished 25 November 2026

What changed in April 2026

Nothing stops working. MySQL 8.0.46, released on 21 April 2026, is the last 8.0 release: Oracle says 8.0 reaches end of life with it, and recommends moving to 8.4 LTS or a newer release (MySQL 8.0 release notes).

From the same date, 8.0 is covered by Oracle Sustaining Support (MySQL). The name sounds reassuring, but Oracle's support policy is clear: Sustaining Support does not include new updates, fixes, security alerts or critical patch updates. You keep access to the fixes that already exist, nothing more (Oracle Lifetime Support Policy).

Flaws keep being found. Ubuntu's August 2026 update of its own 8.0 package carried fixes for 29 vulnerabilities from Oracle's July 2026 security release, applied as a patch because there is no 8.0 release to install any more (Ubuntu changelog).

Who still patches MySQL 8.0?

The answer decides whether you have years or should move now:

Where your 8.0 runsStill patched?What to do
MySQL installed from Oracle's own packages or downloadsNo. 8.0.46 was the last release.Upgrade to 8.4.
The official mysql:8.0 Docker imageNo. It is no longer among the supported tags.Move to mysql:8.4 after the checks below.
Ubuntu 22.04 or 24.04's own mysql-server-8.0 packageYes, during the release's standard support: until May 2027 on 22.04, May 2029 on 24.04Plan it with the release upgrade: Ubuntu 26.04 ships MySQL 8.4. See our Ubuntu 22.04 guide.
Amazon RDS for MySQLOnly with paid RDS Extended Support, since 1 August 2026 and until 31 July 2029Upgrade to 8.4 to stop paying for it.
Amazon Aurora MySQL version 3Yes, until 30 April 2028, then with paid Extended Support until 31 July 2029Plan the move to Aurora MySQL 8.4.
Azure Database for MySQLYes, until 31 January 2027, then with paid Extended Support until 31 May 2029Upgrade before February 2027 to avoid the charge.
Google Cloud SQL for MySQLYes, then with paid extended support from 1 January 2027Upgrade before then. Cloud SQL deprecates 8.0 on 1 July 2029.

Ubuntu ships mysql-server-8.0 in its main repository (Ubuntu packages), the part covered by standard security maintenance (Ubuntu). Canonical has kept fixing it since Oracle stopped: two fixes in June 2026 and 29 more in August 2026 (Ubuntu changelog). Each one is now a patch Canonical carries itself, with no Oracle release behind it, so use the time to plan rather than to wait. Ubuntu 26.04 ships MySQL 8.4 (Ubuntu packages).

On Amazon RDS, 8.0 is now only available under Extended Support, which is charged on top of the instance and goes up from its third year, on 1 August 2028 (AWS). Aurora MySQL version 3 is still in standard support, and AWS released a version compatible with 8.0.46 in October 2026 (AWS).

Azure enrols servers on 8.0 in Extended Support automatically, and bills it per vCore per hour (Microsoft). Cloud SQL's extended support is also paid, covers critical and high severity CVEs, and ends with Cloud SQL upgrading deprecated instances to the default version itself (Google Cloud, versions).

Debian does not ship MySQL: its default-mysql-server package installs MariaDB (Debian), a separate project with its own support dates. This guide does not apply to it.

Check what you run

These commands give the server version, the accounts that still log in with mysql_native_password, the configuration options that 8.4 removed, the Docker files that pin mysql:8.0, and your RDS instances. Run the first two as a database administrator (on Ubuntu, sudo mysql):

mysql -e "SELECT VERSION();"
mysql -e "SELECT user, host FROM mysql.user WHERE plugin = 'mysql_native_password';"
grep -rnE "default_authentication_plugin|expire_logs_days|master_info_repository" /etc/mysql/
grep -rn "mysql:8.0" --include="Dockerfile*" --include="*compose*.y*ml" .
aws rds describe-db-instances --query "DBInstances[].[DBInstanceIdentifier,Engine,EngineVersion]" --output text

If the version string says MariaDB, you are not running MySQL, and its dates are different.

Let the upgrade checker find the rest

MySQL Shell has an upgrade checker that reads the server and its configuration file and lists what will fail or change on the new version. Use MySQL Shell 8.4: unless you say otherwise, it checks against its own version. The account needs the PROCESS and SELECT privileges (MySQL Shell).

mysqlsh -- util checkForServerUpgrade root@localhost:3306 --config-path=/etc/mysql/my.cnf

Fix every error before you upgrade, and read the warnings too: they point at the things that will still run but behave differently.

Which version to move to?

VersionOracle supportWhen to choose it
MySQL 8.0Premier ended April 2025, Extended ended April 2026Only where someone else still patches it, and only for now.
MySQL 8.4 LTSPremier until April 2029, Extended until April 2032The usual next step: the only supported direct upgrade from 8.0, and the version Ubuntu 26.04 ships.
MySQL 9.7 LTSPremier until April 2031, Extended until April 2034Later, from 8.4. You cannot go straight from 8.0 to 9.7.
Innovation releasesUntil the next Innovation releaseTo try new features, not for a server you want to leave alone.

Dates from Oracle's Lifetime Support Policy. MySQL 8.0 kept getting public releases until its Extended Support ended, but plan on the earlier date for 8.4: Amazon RDS already lists 30 April 2029 as its community end of life (AWS).

Within an LTS series, MySQL only ships fixes, never removals: features are added or removed only in the first release of a new LTS series. Upgrading to the next LTS series is supported, skipping one is not, and Innovation releases are supported only until the next one (MySQL).

What usually breaks

  • mysql_native_password is off. In 8.4 the plugin is disabled by default, and accounts that use it get an access denied error. You can turn it back on with mysql_native_password=ON in the [mysqld] section, but that only buys time: MySQL 9.0 removed it (MySQL).
  • caching_sha2_password needs a secure connection. Over plain TCP without TLS, the client must use RSA key exchange or the login fails with "Authentication requires secure connection". Unix socket connections are fine (MySQL). Test the app, backups and monitoring tools, not just the mysql client.
  • Removed server options. default_authentication_plugin is gone (use authentication_policy), expire_logs_days is gone (use binlog_expire_logs_seconds), and so are the master_info and relay_log_info repository options. A my.cnf that still sets them gives an error (MySQL 8.4).
  • MASTER and SLAVE commands are gone. SHOW MASTER STATUS becomes SHOW BINARY LOG STATUS, START SLAVE becomes START REPLICA, and CHANGE MASTER TO becomes CHANGE REPLICATION SOURCE TO. Backup scripts and monitoring checks often still use the old words.
  • Smaller surprises. MANUAL, PARALLEL, QUALIFY and TABLESAMPLE are now reserved words, a FLOAT or DOUBLE column with AUTO_INCREMENT makes the upgrade fail, new foreign keys on non-unique keys are rejected by default, and mysqlpump and mysql_upgrade no longer exist.
  • New InnoDB defaults. Several change, among them innodb_io_capacity (200 to 10000) and the adaptive hash index (now off). Set the values you rely on explicitly and compare performance on a copy.
  • Docker tags that moved. mysql:8.0 is no longer a supported tag, mysql:8 now means 8.4, and latest means the newest Innovation release (Docker Hub). An image rebuilt from mysql:8 or latest can change version without anyone deciding to, so pin mysql:8.4.

Upgrade steps

  1. List every MySQL server and managed database, its exact version, and everything that connects to it: the app, cron jobs, backup scripts, monitoring and reporting tools.
  2. Run the upgrade checker with MySQL Shell 8.4 and fix every error it reports.
  3. While still on 8.0, switch the app's accounts to caching_sha2_password with ALTER USER ... IDENTIFIED WITH caching_sha2_password BY '...' (MySQL), and check that every client still connects. That separates the login change from the version change.
  4. Remove the deleted options from my.cnf, and replace the MASTER and SLAVE commands in scripts and monitoring.
  5. Take a full backup, including a logical dump: 8.4 cannot be turned back into 8.0 in place.
  6. Try the upgrade on a copy first: a restored snapshot or a staging server with real data. On RDS, restore a snapshot to a new instance and upgrade that one.
  7. Upgrade production in a quiet window, then watch the error log for warnings and the app for slow queries for a few days.

If you cannot upgrade yet

Find out first who patches your 8.0. On Ubuntu's own package or a managed database, the fixes still come, so you have time: write down the date you will upgrade, and budget for the cloud charges, which start automatically.

On Oracle's own packages, the Docker image or a tarball, nothing new is coming. Make sure the database port is not reachable from the internet, let only the app servers connect, keep TLS on, and keep everything around it patched until the upgrade is done.

Questions

Will my database stop working?

No. MySQL 8.0 keeps running, and so do managed 8.0 databases. What stops, unless someone else does the work, is the stream of security fixes.

Can I skip 8.4 and go straight to 9.7?

Not in one step. MySQL supports upgrades to the next LTS series only, so 8.0 goes to 8.4, and 8.4 can go to 9.7 later (MySQL). Amazon RDS follows the same path.

My app logs in with mysql_native_password. Is that a problem?

On 8.4 those accounts are refused until you switch them to caching_sha2_password or turn the plugin back on. Turning it on is a stopgap, since MySQL 9.0 removed it. Azure keeps it enabled on all versions (Microsoft).

Can I go back to 8.0 after the upgrade?

Not in place. Going from 8.4 back to 8.0 works only with a dump and load or replication, and only as a rollback, before you use anything new in 8.4 (MySQL). Keep the backup and snapshot from before the upgrade.

Can PatchTempo do the upgrade?

Yes. It is part of the one-off hardening upgrade: tried on a copy first, rolled out after your approval, with a backup and snapshot to switch back to. Start with the free audit.

Sources