Jarwis.ClusterOps

Blog

Upgrading MySQL 8.0 to 8.4 LTS: a checklist you can run before the first 8.4 start

Jarwis Team · · 4 min read · MySQL, MariaDB, Upgrades

MySQL 8.0 reached end-of-life in April 2026. Oracle's product support notice states that, as of 21 April 2026, 8.0 is under Lifetime Sustaining Support, and that users are encouraged to upgrade to MySQL 8.4 LTS or 9.7 LTS. The server you already have will keep answering queries. It will not keep getting community security and bug-fix releases the way a supported LTS series does.

This post is a pre-flight checklist for the 8.0 to 8.4 LTS path. It is written from the official 8.4 upgrade notes, not from a particular automation tool. Two facts are worth putting at the top, because they change the plan:

  • You cannot jump from 8.0 to 9.x directly. The documented path is 8.0 to 8.4 LTS first, then 8.4 to a later LTS if you want that next.
  • You cannot downgrade a data directory that 8.4 has already upgraded. The way back is a backup taken before the first start of 8.4.

Why the first start of 8.4 is the dangerous moment

On this upgrade, the server upgrades the data dictionary first and validates the configuration afterwards. If my.cnf still contains a variable that was removed in 8.4, the first start can abort with an unknown-variable error after the data directory has already been converted. At that point the 8.0 server can no longer start that directory. Restore the backup, fix the config, and try again.

The practical rule: clean the configuration, and if you can, validate it with the 8.4 mysqld binary against that file before the first start, so the check does not touch the data directory.

Configuration options to remove before 8.4 starts

The 8.4 series removes a set of 8.0 options. The ones that most often survive in a copied my.cnf include:

  • default_authentication_plugin — removed. New accounts default to caching_sha2_password.
  • expire_logs_days — removed; binlog expiry moved to other variables in 8.0 already, and 8.4 will not accept this name.
  • transaction_write_set_extraction
  • binlog_transaction_dependency_tracking
  • master_info_repository
  • log_bin_use_v1_row_events

Search every included file, not just the main my.cnf. A leftover option in a dropped-in snippet is enough.

Authentication and client libraries

mysql_native_password is disabled by default in 8.4, and default_authentication_plugin is gone. Inventory accounts that still use mysql_native_password, and check that every application driver can use caching_sha2_password (and TLS, if you require it). You can still load the old plugin temporarily in 8.4 if you must, but it is a compatibility bridge: it is not a plan for the next LTS after 8.4.

Replication syntax and operational scripts

The old MASTER / SLAVE statement syntax is gone in 8.4 and will error. Any backup script, failover hook, or monitoring check still issuing STOP SLAVE, CHANGE MASTER TO or SHOW SLAVE STATUS needs to be rewritten to the SOURCE / REPLICA forms before you upgrade. This is easy to miss if those statements live in a wrapper rather than in the server config.

Schema and identifier traps

A few 8.4 changes will stop the upgrade or break a query if you do not look first:

  • AUTO_INCREMENT is no longer allowed on FLOAT or DOUBLE columns. The upgrade fails if such a column exists. Change those columns before you start 8.4.
  • New reserved words in 8.4 include MANUAL, PARALLEL, QUALIFY and TABLESAMPLE. Unquoted identifiers that match them will fail.
  • Review the changes in MySQL 8.4 for the full list of incompatible changes and default changes, not only the items above.

The rehearsal that is worth doing

Take a fresh backup. Restore it onto a spare host that is still on 8.0. Clean the configuration, install 8.4 next to it (or on a clone), and run the upgrade there first. Then:

  • Confirm the server starts with your cleaned config.
  • Run the application smoke tests and the ten heaviest queries, with EXPLAIN, against the upgraded copy.
  • Time the upgrade and the smoke tests. That is the window you book for production.
  • Only then repeat the same steps on the real cluster, with a backup taken immediately before you begin.

If the cluster has replicas, upgrade a replica first and let it run as a check, or fail over to an already-upgraded replica, rather than discovering a removed setting on the primary.

How this looks in Jarwis ClusterOps

Jarwis does not run the 8.0-to-8.4 major upgrade for you; that path is still a planned, manual (or scripted) change. What the console does give you around it is the rest of the operational picture: a recent backup and a documented restore, configuration history and drift, query analytics so you can compare plans before and after, and — for MySQL point-releases — a replica-first rolling update on the Updates tab.

Restore drills, which restore a backup onto a throw-away host so you can time a rehearsal properly, are a Pro feature ($9.99 per node per month). Backups, monitoring and the rolling point-release path are available on Lite, which is free up to 3 nodes.

You can start on Lite, or look at a MySQL cluster in the read-only demo at demo.jarwis.com. Backup and restore are in the backups docs; point-release rolling updates are in rolling updates.