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

[Question] Mysql 8 auth support for mysql2 server #1248

Open
haganbt opened this issue Nov 12, 2020 · 4 comments
Open

[Question] Mysql 8 auth support for mysql2 server #1248

haganbt opened this issue Nov 12, 2020 · 4 comments
Labels

Comments

@haganbt
Copy link

haganbt commented Nov 12, 2020

Is caching_sha2_password supported when using mysql2 as a server/proxy?

I cannot see any references in the examples.

Appreciate any guidance.

@sidorares
Copy link
Owner

sorry for delays @haganbt I'll get back with more detailed answer soon

caching_sha2_password is not supported out of the box yet. It's still possible to have it I believe but you'd need to handle all auth packets sequence manually in the server code ( which is a bit more complicated than one roundtrip salt -> auth(password, salt)` mysql_native_password flow )

@haganbt
Copy link
Author

haganbt commented Nov 30, 2020

Any further clarification here @sidorares would be very much appreciated.

@pureLifeWater101
Copy link

Any updates on this? Is this supported out of the box now? @sidorares

@sidorares
Copy link
Owner

Still not possible but I plan to look at that soon. Probably needs "server api at command (state machine managing sequence of packets ) level, not just individual packets" - some initial work started 2 years ago in #1405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants