Skip to content

docs: add MySQL 8.4 migration guide for customers#10163

Open
kanishkaverma wants to merge 4 commits into
mainfrom
docs/mysql-84-migration-guide
Open

docs: add MySQL 8.4 migration guide for customers#10163
kanishkaverma wants to merge 4 commits into
mainfrom
docs/mysql-84-migration-guide

Conversation

@kanishkaverma

Copy link
Copy Markdown

Adds a new page to the MariaDB and MySQL guide covering MySQL 8.4 migration.

Content

  • How to enable MySQL 8.4 via pantheon.yml
  • Pre-migration checklist (CMS compatibility matrix, reserved word conflicts)
  • What happens during migration (process, timing estimates by DB size)
  • Post-migration changes (collation defaults, sql_mode differences)
  • Common issues and fixes (ONLY_FULL_GROUP_BY, collation mismatches, reserved words)
  • Limitations (no self-service rollback, engine-specific backups, MariaDB 10.6 prerequisite)

Context

MySQL 8.4 LTS support is nearing GA. This guide is part of pre-release prep for PS/CS/TS readiness (PRT-3742). Based on at-scale validation of 14 sites from 0 MB to 85 GB (PRT-3727).

The pantheon.yml page will also need an update to mention MySQL 8.4 alongside MariaDB versions, but that can be a follow-up.

Refs: PRT-3742

Customer-facing guide covering how to enable MySQL 8.4 via
pantheon.yml, pre-migration checklist, CMS compatibility matrix,
reserved word conflicts, migration process and timing, common
post-migration issues (ONLY_FULL_GROUP_BY, collation mismatches),
and limitations.

Refs: PRT-3742
@kanishkaverma
kanishkaverma requested a review from a team as a code owner July 9, 2026 23:52
@pantheon-site-integration
pantheon-site-integration Bot temporarily deployed to pr-10163 July 9, 2026 23:52 Inactive
@pantheon-site-integration

Copy link
Copy Markdown

Successfully created multidev environment: pr-10163

@rachelwhitton rachelwhitton self-assigned this Jul 13, 2026
@rachelwhitton rachelwhitton added Type: New Content Request for or PR containing new content to existing page Topic: Database labels Jul 13, 2026
@pantheon-site-integration
pantheon-site-integration Bot temporarily deployed to pr-10163 July 13, 2026 18:27 Inactive
@pantheon-site-integration

Copy link
Copy Markdown

Successfully created multidev environment: pr-10163


- **No self-service rollback.** Reverting from MySQL 8.4 to MariaDB requires Pantheon support. Always test on a [Multidev](/guides/multidev) first.
- **Backups are engine-specific.** A backup taken on MySQL 8.4 cannot be restored to a MariaDB environment, and vice versa.
- **MariaDB 10.6 required.** Your site must be on MariaDB 10.6 before migrating to MySQL 8.4. Sites on older MariaDB versions will be upgraded to 10.6 first automatically.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kanishkaverma in Slack we discussed making this a recommendation rather than a requirement. Let's hold off on publishing until we know for certain.

Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md Outdated
|-----|----------------|-------|
| WordPress 6.x | All versions | Fully compatible |
| WordPress 5.x | 5.9+ | Older versions may hit reserved word or sql_mode issues |
| Drupal 10 | 10.2+ | Earlier versions may need patches for the `GROUPS` reserved word |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What patches would they need? It might be wiser for us to just recommend upgrading to the highest available point release.

Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md
Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md Outdated
Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md Outdated
Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md Outdated
Comment thread src/source/content/guides/mariadb-mysql/11-mysql-84.md Outdated
Before enabling MySQL 8.4, consider the following limitations:

- **No self-service rollback.** Reverting from MySQL 8.4 to MariaDB requires Pantheon support. Always test on a [Multidev](/guides/multidev) first.
- **Backups are engine-specific.** A backup taken on MySQL 8.4 cannot be restored to a MariaDB environment, and vice versa.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't a backup taken in MariaDB be imported to a MySQL environment? aren't we doing this conversion with a backup and import?


## How to Enable MySQL 8.4

Add the following to your site's `pantheon.yml` file:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we merge this PR we need to figure out which upstreams have are getting their pantheon.upstream.yml changed on which dates

Co-authored-by: Steve Persch <stevector@users.noreply.github.com>
@pantheon-site-integration
pantheon-site-integration Bot temporarily deployed to pr-10163 July 13, 2026 20:24 Inactive
Co-authored-by: Steve Persch <stevector@users.noreply.github.com>
@pantheon-site-integration

Copy link
Copy Markdown

Successfully created multidev environment: pr-10163

1 similar comment
@pantheon-site-integration

Copy link
Copy Markdown

Successfully created multidev environment: pr-10163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Topic: Database Type: New Content Request for or PR containing new content to existing page

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants