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

Improve MySQL auth error message #29

Merged

Conversation

sgrebnov
Copy link
Collaborator

@sgrebnov sgrebnov commented Aug 2, 2024

PR improves MySQL auth error message when incorrect user name is specified.

Unable to create MySQL connection pool: ConnectionPoolRunError: Driver error: Unknown authentication plugin sha256_password'.'

This happens when auth failed and server requests to switch auth but mysql_async crate does not support requested auth plugin (sha256_password)
https://github.com/blackbeam/mysql_async/blob/e15a0233dd4ea01cad3d6613c9bd88e63e7edd67/src/conn/mod.rs#L610

@phillipleblanc phillipleblanc merged commit 09c9340 into datafusion-contrib:main Aug 2, 2024
2 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