MySQL 8.0 is end of life: Oracle's release notes state that "as of April 2026, with version 8.0.46, MySQL 8.0 reaches End of Life," and point users to 8.4 LTS. The supported way off 8.0 is a direct upgrade to 8.4 LTS, done in place, by logical dump and load, or through replication. The work is mostly pre-flight: run the upgrade checker, fix authentication (mysql_native_password is disabled by default in 8.4), remove the old MASTER/SLAVE statements from scripts, and decide which of the changed InnoDB defaults you actually want.
This guide covers what breaks, how to test for it, the three upgrade methods, the rollback reality, and the managed-service deadlines on AWS, Google Cloud and Azure as of November 2026.
Why you have to move now
The MySQL 8.0 release notes list 8.0.46 (2026-04-21) as the last release and say: "MySQL 8.0 users are encouraged to upgrade to the latest MySQL 8.4 LTS or MySQL Innovation release." No more community security fixes are coming for 8.0.
On managed services, 8.0 now costs money or soon will:
| Service | 8.0 standard support ends | Paid extended support | Source |
|---|---|---|---|
| Amazon RDS for MySQL | 31 July 2026 | Year 1 pricing from 1 Aug 2026, year 3 pricing from 1 Aug 2028, ends 31 July 2029 | RDS MySQL versions |
| Aurora MySQL version 3 (8.0-compatible) | 30 April 2028 | From 1 May 2028, ends 31 July 2029 | Aurora release calendar |
| Cloud SQL for MySQL | Extended support starts 1 Jan 2027 | Deprecation 1 July 2029 | Cloud SQL versions |
| Azure Database for MySQL | 31 January 2027 | 1 Feb 2027 to 31 May 2029 | Azure version policy |
RDS 8.0 instances are already enrolled in RDS Extended Support and billed per vCPU-hour. AWS's own worked example on the RDS for MySQL pricing page uses US East (Ohio) rates of $0.100 per vCPU-hour for years 1 and 2 and $0.200 for year 3. On an 8-vCPU instance at the year-1 rate that is 8 x $0.100 x 730 hours = $584 a month on top of the instance price, before you count replicas. Check your Region's rate on that page; prices are as of November 2026.
8.4 LTS or 9.7 LTS?
Oracle shipped MySQL 9.7.0 as a new LTS line on 2026-04-21 (9.7.0 release notes), so "skip straight to the newest LTS" is a reasonable question. The answer is no: the upgrade paths table states that an LTS or bugfix series cannot be skipped. 8.0 goes to 8.4 first.
| Target | Path from 8.0 | Support model | When it fits |
|---|---|---|---|
| 8.4 LTS | Direct (in place, dump/load, replication) | 5 years premier + 3 years extended under Oracle Lifetime Support | Almost everyone; the only major upgrade RDS offers from 8.0 |
| 9.7 LTS | 8.0 to 8.4, then 8.4 to 9.7 | Same LTS policy | Self-managed or Cloud SQL users who want a longer runway and can afford two hops |
| Innovation releases (26.x) | Via the nearest LTS | Supported only until the next Innovation release | Teams with strong automated testing that want new features quarterly |
The release model page guarantees no removals within an LTS series, while Innovation releases can change behavior at any time. For production, take 8.4 now and treat 9.7 as a later, separate project.
What breaks between 8.0 and 8.4
All of the following come from What Is New in MySQL 8.4 since 8.0 and Changes in MySQL 8.4. Ordered by how often they bite.
Authentication: mysql_native_password is off
The native authentication docs say the plugin is "deprecated as of MySQL 8.0.34, disabled by default in MySQL 8.4, and removed as of MySQL 9.0.0." Accounts that still use it get ERROR 1045 at login, and creating or altering such an account fails with ERROR 1524 (HY000): Plugin 'mysql_native_password' is not loaded.
Find them before the upgrade:
SELECT user, host, plugin
FROM mysql.user
WHERE plugin = 'mysql_native_password';
-- Migrate each account to the 8.4 default
ALTER USER 'app'@'%' IDENTIFIED WITH caching_sha2_password BY 'new-strong-password';
If you cannot migrate every client in time, you can re-enable the plugin as a stopgap:
[mysqld]
mysql_native_password=ON
Treat that as temporary. It is gone in 9.0, so it blocks your next LTS hop.
caching_sha2_password needs either TLS or an RSA key exchange. Over a non-TLS connection, clients fail with Authentication requires secure connection unless they request the server's public key (--get-server-public-key for the CLI) or are given it with --server-public-key-path (caching_sha2 docs). The real fix is to turn on TLS between app and database. Also check that your connection pooler and old drivers support the plugin.
One managed-service wrinkle: Azure states that mysql_native_password remains enabled in Azure Database for MySQL across all versions. So Azure won't break your logins on day one, but you still have to migrate before 9.x.
Replication terminology: the old statements are gone
In 8.4 these are removed, not just deprecated:
| Removed in 8.4 | Use instead |
|---|---|
CHANGE MASTER TO ... MASTER_HOST= |
CHANGE REPLICATION SOURCE TO ... SOURCE_HOST= |
START SLAVE / STOP SLAVE |
START REPLICA / STOP REPLICA |
SHOW SLAVE STATUS |
SHOW REPLICA STATUS |
SHOW MASTER STATUS |
SHOW BINARY LOG STATUS |
RESET MASTER |
RESET BINARY LOGS AND GTIDS |
SHOW SLAVE HOSTS |
SHOW REPLICAS |
MASTER_BIND and MASTER_SSL_VERIFY_SERVER_CERT were reserved words and are gone from the keyword list. The replica-side replacements already work on 8.0 (START REPLICA and SHOW REPLICA STATUS since 8.0.22, CHANGE REPLICATION SOURCE TO since 8.0.23), so you can fix those in scripts, Ansible roles and monitoring checks before the upgrade. SHOW BINARY LOG STATUS and RESET BINARY LOGS AND GTIDS do not exist in 8.0, so tooling that runs against both versions during the transition needs a version check. A quick sweep of your repos:
grep -rnE "SHOW (SLAVE|MASTER) STATUS|(START|STOP|RESET) SLAVE|CHANGE MASTER|RESET MASTER|FLUSH HOSTS|expire_logs_days|default_authentication_plugin" \
--include='*.py' --include='*.go' --include='*.java' --include='*.rb' --include='*.php' \
--include='*.ts' --include='*.js' --include='*.sql' --include='*.yml' --include='*.yaml' --include='*.cnf' .
Removed server options that stop mysqld from starting
An unknown option in my.cnf stops the server from starting. The removals most often found in real configs:
default_authentication_plugin: removed; useauthentication_policy.expire_logs_days: removed; usebinlog_expire_logs_seconds.--skip-host-cache: removed; usehost_cache_size=0.binlog_transaction_dependency_tracking: removed; writeset tracking is always used.master_info_repository,relay_log_info_repositoryand their file variants: removed (crash-safe tables are mandatory).--ssl,have_ssl,have_openssl: removed; use--tls-version.transaction_write_set_extraction,log_bin_use_v1_events,slave_rows_search_algorithms: removed.
FLUSH HOSTS is also gone (use TRUNCATE TABLE performance_schema.host_cache), and the mysql_upgrade, mysqlpump and mysql_ssl_rsa_setup binaries were removed.
Schema-level blockers
AUTO_INCREMENTonFLOATorDOUBLEcolumns is removed, and the 8.4 notes say the upgrade fails if such columns exist. Find them:
SELECT table_schema, table_name, column_name, data_type
FROM information_schema.columns
WHERE extra LIKE '%auto_increment%'
AND data_type IN ('float', 'double');
- New reserved words
QUALIFYandTABLESAMPLEwill break unquoted identifiers with those names. - Foreign keys that reference non-unique or partial keys are now rejected for new DDL by default (
restrict_fk_on_non_standard_key=ON). Existing ones survive the upgrade and the server logs them; fix them before your next schema migration hits that error. - For 8.4.4 and later, the docs recommend dropping spatial indexes before the upgrade and recreating them afterward.
Changed defaults that change performance
8.4 rewrote a lot of InnoDB defaults. The ones with visible effect:
| Variable | 8.0 default | 8.4 default |
|---|---|---|
innodb_io_capacity |
200 | 10000 |
innodb_adaptive_hash_index |
ON | OFF |
innodb_change_buffering |
all | none |
innodb_flush_method (Linux) |
fsync | O_DIRECT if supported |
innodb_log_buffer_size |
16 MiB | 64 MiB |
innodb_buffer_pool_instances |
8 (1 if pool < 1 GiB) | Computed from buffer pool size and CPUs |
innodb_numa_interleave |
OFF | ON |
temptable_max_ram |
1 GiB | 3% of RAM, 1 to 4 GiB |
Group Replication users also get group_replication_consistency=BEFORE_ON_PRIMARY_FAILOVER and group_replication_exit_state_action=OFFLINE_MODE.
These defaults suit modern NVMe hardware. On slow network storage, innodb_io_capacity=10000 makes background flushing far more aggressive, and losing the adaptive hash index can hurt read-heavy workloads. Values set explicitly in my.cnf still win. If you relied on defaults, either pin the old values for the upgrade and tune later, or benchmark the new ones on staging. Changing defaults and version in one window makes regressions hard to attribute.
Run the upgrade checker first
MySQL Shell's upgrade checker utility inspects a running 8.0 server for everything above and more. It needs an account with PROCESS and SELECT. Use a Shell release at least as new as your target, since the target version can't be higher than the Shell's own release.
mysqlsh -- util checkForServerUpgrade admin@db-primary:3306 \
--target-version=8.4 \
--config-path=/etc/mysql/my.cnf \
--output-format=JSON > upgrade-check.json
Or from inside the Shell in JavaScript mode:
util.checkForServerUpgrade('admin@db-primary:3306', {
targetVersion: '8.4',
configPath: '/etc/mysql/my.cnf'
});
Pass configPath, because some checks fail without it. Findings come in three levels: Error must be fixed before upgrading, Warning should be fixed, and Notice is informational. The utility documents no return value, so in CI parse errorCount from the JSON. Run it against a production-sized copy, since most findings concern your actual objects.
Choose an upgrade method
The 8.4 upgrade paths list three supported methods for 8.0 to 8.4. MySQL Clone is supported only within a series, so you can't clone an 8.0 instance into 8.4.
| Method | Downtime | Effort | Rollback story |
|---|---|---|---|
| In place | Minutes, plus data dictionary upgrade time | Lowest | Restore the pre-upgrade backup |
| Logical dump and load | Hours on large datasets | Medium | Old server untouched until you cut over |
| Replication (8.4 replica of 8.0) | Seconds at cutover | Highest | Old primary still exists; reverse replication is not guaranteed |
In-place upgrade
From the in-place procedure: take a backup, resolve any XA transactions (XA RECOVER), and make sure you are not using a cold shutdown.
XA RECOVER; -- must return no rows
SET GLOBAL innodb_fast_shutdown = 1; -- or 0 for a slow shutdown; never 2 here
mysqladmin -u root -p shutdown
# install the 8.4 packages from the mysql-8.4-lts-community repo, then:
sudo systemctl start mysqld # the unit is "mysql" on Debian/Ubuntu
sudo tail -f /var/log/mysqld.log # watch the data dictionary upgrade
No mysql_upgrade step is needed. The 8.4 server upgrades the data dictionary, system schemas and sys on first start. According to the docs, if that step fails the server reverts its changes to the data directory, so you can start the previous server, fix the errors and retry. Don't count on that instead of a backup.
Logical dump and load
Prefer MySQL Shell's parallel dump utilities over single-threaded mysqldump for anything beyond a few GB:
// On the 8.0 source
util.dumpInstance('/backups/mysql80-full', { threads: 8, consistent: true });
// On a fresh 8.4 target (local_infile must be ON for the load)
util.loadDump('/backups/mysql80-full', { threads: 8, loadUsers: true, skipBinlog: true });
loadUsers defaults to false in the load utility, so set it explicitly. If any dumped accounts still use mysql_native_password, they will fail to load while the plugin is disabled. That is another reason to migrate authentication first.
Replication-based upgrade
Replicating from an older source to a newer replica is supported when the pair is a supported upgrade path, and 8.0 to 8.4 is one. Seed the 8.4 instance with a dump (as above, adding updateGtidSet: 'append' to the load options when you use GTIDs), then point it at the 8.0 primary using the new syntax:
CHANGE REPLICATION SOURCE TO
SOURCE_HOST = 'db-primary-80.internal',
SOURCE_PORT = 3306,
SOURCE_USER = 'repl',
SOURCE_PASSWORD = 'repl-password',
SOURCE_AUTO_POSITION = 1,
SOURCE_SSL = 1;
START REPLICA;
SHOW REPLICA STATUS\G
Let it replicate for days, send some read-only traffic to it to catch query-plan changes, then cut over: stop writes, wait for zero lag, promote, repoint the application. For fleets, upgrade replicas first and the primary last, following the rolling upgrade guidance.
Rollback reality: plan for "no going back"
The 8.4 downgrade docs allow 8.4 to 8.0 only by logical dump and load or replication, and "only supported for rollback purposes (that is, if no new server functionality has been applied to the data)." There is no in-place downgrade.
Replicating from a newer source to an older replica is "generally not supported" either, so don't rely on reverse replication without testing it. Realistic options:
- A verified backup taken immediately before the upgrade, with a measured restore time.
- For replication-based upgrades, an untouched 8.0 primary. Once writes land on 8.4, going back means a reverse dump or lost writes.
Rehearse the rollback on staging. If the restore takes six hours, that is your rollback window plus decision time.
Managed-service upgrade paths
Amazon RDS for MySQL supports an in-place major version upgrade from 8.0 to 8.4. It runs mandatory prechecks before stopping the instance and cancels the upgrade if it finds incompatibilities, logging details to PrePatchCompatibility.log. If the upgrade fails after the prechecks, RDS rolls the instance back to 8.0 and emits RDS-EVENT-0188. RDS also empties the slow_log and general_log tables during the upgrade, so export them first. For minimal downtime, AWS points to Blue/Green Deployments. If you use a custom parameter group, create one for the 8.4 family and carry over your settings deliberately instead of copying them blindly. Several 8.0 parameters no longer exist.
aws rds modify-db-instance \
--db-instance-identifier prod-mysql \
--engine-version 8.4.9 \
--allow-major-version-upgrade \
--db-parameter-group-name prod-mysql84 \
--apply-immediately
Pick the exact 8.4 minor from aws rds describe-db-engine-versions --engine mysql; as of November 2026 RDS lists 8.4.5 through 8.4.11.
Aurora MySQL now has an Aurora MySQL 8.4 major version alongside version 3 (8.0-compatible). Version 3 keeps standard support until 30 April 2028, so Aurora users have the most breathing room. Check the release calendar for minor-version end dates, several of which have already passed.
Cloud SQL makes 8.4 the default for new instances and supports 9.7 since 6 August 2026, so it is the one major provider where a later 8.4 to 9.7 hop is already available.
Azure Database for MySQL offers an in-place major version upgrade and recommends an on-demand backup first. 8.4 is the only GA target there.
Application and driver checklist
- Drivers: confirm every client library supports
caching_sha2_password, and upgrade clients before the server. AWS also notes older clients can fail on theutf8mb3charset name. - Migrations: replay your full schema migration history against 8.4 in CI. Tools that issue raw SQL (see our Atlas vs Flyway vs Liquibase comparison) surface reserved-word and foreign-key issues early.
- Ops tooling: exporters, backup scripts and failover tools that run
SHOW SLAVE STATUSbreak on day one. - Config drift: diff
SHOW GLOBAL VARIABLESoutput from 8.0 and 8.4 staging instances with any text diff tool, such as those in our developer tools. - Query plans: compare
EXPLAIN ANALYZEfor your slowest production queries on both versions.
If extended-support fees set your timeline, review the rest of your database spend too; our database FinOps guide covers the usual levers.
Frequently Asked Questions
Is MySQL 8.0 really end of life?
Yes. Oracle's 8.0 release notes state that MySQL 8.0 reached end of life in April 2026 with version 8.0.46, released 2026-04-21. There will be no further community releases or security fixes. Managed providers sell paid extended support for a limited time, but that only buys you time to upgrade.
Can I upgrade directly from MySQL 8.0 to 9.7?
No. MySQL's upgrade path rules say an LTS or bugfix series cannot be skipped, so you must go 8.0 to 8.4 and then 8.4 to 9.7. Amazon RDS supports only 8.0 to 8.4 as a major upgrade. Plan the 9.7 move as a separate project once 8.4 is stable.
Can I roll back from 8.4 to 8.0 after upgrading?
Not in place. MySQL supports going from 8.4 back to 8.0 only by logical dump and load or replication, and only if no new 8.4 functionality has been applied to the data. Your real rollback plan is a verified pre-upgrade backup, or an untouched 8.0 primary if you upgraded via replication.
Do I have to stop using mysql_native_password?
For 8.4 you can re-enable it with mysql_native_password=ON, but it is removed in MySQL 9.0. Migrating accounts to caching_sha2_password and enabling TLS now avoids a second emergency at your next upgrade. Azure Database for MySQL keeps the plugin enabled, but that is a service-specific exception.
How long does an in-place upgrade take?
AWS says RDS MySQL major version upgrades typically complete in about 10 minutes, though some take longer. Self-managed in-place upgrades update the data dictionary and system schemas on first start rather than rewriting your data. Time it on a full-size copy, since prechecks and object counts drive the duration.
Bottom Line
Upgrading MySQL 8.0 to 8.4 is not hard, but it does punish teams that skip the preparation. Run util.checkForServerUpgrade() against a production-sized copy, migrate mysql_native_password accounts, remove MASTER/SLAVE syntax from every script and tool, and decide on the new InnoDB defaults on purpose. Use in place when you can tolerate minutes of downtime and have a fast restore, and use replication when you can't. On RDS you are already paying extended support. On Cloud SQL and Azure the meter starts in early 2027, which is enough time to do this properly if you start now.