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

caching_sha2 auth update #52

Open
ixcat opened this issue Jun 29, 2020 · 0 comments
Open

caching_sha2 auth update #52

ixcat opened this issue Jun 29, 2020 · 0 comments

Comments

@ixcat
Copy link
Contributor

ixcat commented Jun 29, 2020

Connecting to mysql 8 (percona 8.0.19-10) yields an Authentication plugin 'caching_sha2_password' cannot be loaded: error.

Apparently MySQL 8 uses this as default (https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html), so mym should also eventually support it out of the box. Am guessing this means recompile against latest connector libs, but also probably need to cross check compatibility for older versions.

As a workaround, I was able to override the authentication for my user using:

mysql> alter user 'bob'@'localhost' IDENTIFIED WITH mysql_native_password by 'nocharlie';

Server wide settings can be adjusted with default_authentication_plugin=mysql_native_password, restart required

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

No branches or pull requests

1 participant