Skip to content

Bump test database to mysql:8.4#72

Merged
rick-lam merged 1 commit into
masterfrom
chore/mysql-8.4
May 27, 2026
Merged

Bump test database to mysql:8.4#72
rick-lam merged 1 commit into
masterfrom
chore/mysql-8.4

Conversation

@rick-lam
Copy link
Copy Markdown
Collaborator

@rick-lam rick-lam commented May 27, 2026

Summary

  • Bumps the db service in docker-compose.yml from mysql:8.0 to mysql:8.4.

Context

MySQL 8.4 makes caching_sha2_password the mandatory default auth plugin. This mirrors the MySQL 8.4 work done in docker.

morphism connects exclusively via PDO/mysqlnd, which supports caching_sha2_password natively (mysqlnd + openssl). It never shells out to the alpine mysql CLI — mysqldump in the functional test runs inside the db container itself. So no image swap is required here; the version bump is the whole change.

Test plan

  • Ran the full functional flow locally against mysql:8.4: diff --apply-changes yes, diff, dump, mysqldump, lint, extract — all pass (PDO auth against caching_sha2_password succeeds).
  • CI Functional tests job goes green (uses this same compose file).

🤖 Generated with Claude Code

MySQL 8.4 makes caching_sha2_password the mandatory default auth
plugin. morphism connects via PDO/mysqlnd (graze/php-alpine:7.4),
which supports caching_sha2_password natively, so no client change
is needed — unlike the mysql CLI in the graze/new-php images, which
required mariadb-connector-c for the plugin. Verified the full
functional flow (diff --apply-changes, dump, mysqldump, lint,
extract) against mysql:8.4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 27, 2026 09:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the local/CI functional-test MySQL service to run on MySQL 8.4, aligning the test environment with MySQL 8.4’s default caching_sha2_password authentication behavior.

Changes:

  • Bump the db service image in docker-compose.yml from mysql:8.0 to mysql:8.4.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rick-lam rick-lam merged commit 7018b97 into master May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants