Skip to content

feat: update machinepack-mysql to v5 for MySQL 8.4+/9+ support#364

Open
DominusKelvin wants to merge 1 commit intobalderdashy:masterfrom
DominusKelvin:feat/mysql-8.4-support
Open

feat: update machinepack-mysql to v5 for MySQL 8.4+/9+ support#364
DominusKelvin wants to merge 1 commit intobalderdashy:masterfrom
DominusKelvin:feat/mysql-8.4-support

Conversation

@DominusKelvin
Copy link
Copy Markdown

@DominusKelvin DominusKelvin commented Jan 6, 2026

Resolves balderdashy/sails#7350

Summary

  • Update machinepack-mysql dependency from ^4.0.0 to ^5.0.0 to support MySQL 8.4+ and MySQL 9+
  • This change is required because MySQL 8.4+ deprecated mysql_native_password and MySQL 9.0 removed it entirely
  • The new machinepack-mysql v5 uses mysql2 which supports caching_sha2_password authentication

Changes

  • Updated machinepack-mysql dependency version in package.json

Related PRs

Test Plan

  • Tested connection to MySQL 9.5.0 with caching_sha2_password authentication
  • Ran test suite (18/19 passing)

Update machinepack-mysql dependency from ^4.0.0 to ^5.0.0 to support
MySQL 8.4+ and MySQL 9+ which require `caching_sha2_password` authentication.

The old `mysql` package only supports `mysql_native_password` which is
deprecated in MySQL 8.4 and removed in MySQL 9.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Can't connect mysql8.4 because mysql8.4 no longer supports the mysql_native_password plugin

1 participant