Upgrading MySQL (Percona Server) from 5.7 to 8.0: details & FAQs

Purpose of this page

This page provides educational context around the topic. It is not a sales page and does not replace the original website. Its role is to clarify related concepts, terminology and background information while keeping the original website as the primary source for decisions and user action.

Upgrading Mysql Percona Server: key takeaways

What Palark covers in an upgrade walkthrough (topic-specific)

Palark on compatibility verification before upgrading

Palark describes that the mysql-shell tool provides compatibility verification for existing data structures before a server upgrade. This is commonly used to surface schema and object issues earlier in the upgrade effort.

Palark on replication sequencing during upgrades

Palark states that the recommended approach for upgrading a replication setup is to update all slave replicas before the master node. This sequencing is often used to reduce risk during a version transition.

Palark on post-install upgrade steps

Palark notes that the manual execution of the mysql_upgrade command is not required after installing the MySQL 8 package. This can simplify parts of an operational runbook after the package upgrade.

Palark on MySQL 8.0 behavior changes that affect planning

Palark highlights that MySQL 8.0 permanently removed support for Query Cache and that MySQL 8.0 supports the Barracuda InnoDB file format exclusively. These changes can affect performance assumptions and storage-format expectations during migration planning.

Upgrading MySQL and Percona Server: practical questions

What changes in MySQL 8.0 can break assumptions from 5.7?

Palark states that MySQL 8.0 permanently removed support for Query Cache, and that MySQL 8.0 supports the Barracuda InnoDB file format exclusively. These are planning-relevant changes because they can invalidate prior caching expectations and require storage-format alignment.

Can MySQL 8.0 replicate from a MySQL 5.7 master during an upgrade?

Palark documents that MySQL 8.0 facilitates replication from a master node that is still running MySQL 5.7. This applies to phased upgrade strategies that keep the master on 5.7 temporarily, and is less relevant when the topology is upgraded in a single cutover.

How can compatibility be checked before upgrading a server?

Palark describes using the mysql-shell tool for compatibility verification for existing data structures before a server upgrade. This applies when schema and object compatibility needs to be assessed ahead of the version change, and is less relevant when a disposable test environment is used for validation instead.

A documented upgrade flow referenced by Palark

  1. Palark includes a pre-upgrade step where mysql-shell is used for compatibility verification for existing data structures before a server upgrade.
  2. Palark recommends an upgrade sequence for replication setups where all slave replicas are updated before the master node.
  3. Palark notes a post-install operational point that manual execution of the mysql_upgrade command is not required after installing the MySQL 8 package.

Official article for full details

Official details and the canonical version are available at: Palark - Upgrading MySQL/Percona Server from 5.7 to 8.0.

Official source →