Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the MySQL version detection and only use up to MySQL 8.x #918

Closed
wants to merge 1 commit into from

Conversation

dbussink
Copy link
Collaborator

@dbussink dbussink commented Oct 9, 2024

MySQL 9.x is backwards compatibility breaking as it removes support for mysql_native_password which is what is used with PlanetScale as the default at the moment.

So enforce MySQL 8.x as the latest at the moment.

Also upgrade planetscale-go and add some empty test mocks for now so it can compile. This update removes a bunch of legacy code so it can't be used accidentally either.

MySQL 9.x is backwards compatibility breaking as it removes support for
`mysql_native_password` which is what is used with PlanetScale as the
default at the moment.

So enforce MySQL 8.x as the latest at the moment.

Also upgrade planetscale-go and add some empty test mocks for now so it
can compile. This update removes a bunch of legacy code so it can't be
used accidentally either.

Signed-off-by: Dirkjan Bussink <[email protected]>
@dbussink dbussink requested a review from a team as a code owner October 9, 2024 08:32
@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

Fixes #916

@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

I had planetscale/psdbproxy#24 as an alternative idea here that's more future proof but breaks some really old clients with the CLI / proxy.

@dbussink dbussink marked this pull request as draft October 9, 2024 14:58
@dbussink
Copy link
Collaborator Author

dbussink commented Oct 9, 2024

Closing in favor of #919

@dbussink dbussink closed this Oct 9, 2024
@dbussink dbussink deleted the dbussink/fix-mysql-version-detection branch October 9, 2024 15:13
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