-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Error: Server requests authentication using unknown plugin sha256_password #1152
Comments
Just FYI, this authentication plugin is deprecated since MySQL 8.0.16.
https://dev.mysql.com/doc/refman/8.0/en/sha256-pluggable-authentication.html |
Yes, I know. However, the default ubuntu 20.04 version |
That's weird. What do you mean by default version? Where does it come from? |
Not sure what in particular is wrong with my configuration. I installed mysql via ubuntu's apt packages. I started from a pre-release beta version of 20.04 on this machine so maybe that has something to do with it. I just installed on a fresh VM and am unable to reproduce. |
Same issue here, But mysql2 is giving me the error "Server requests authentication using unknown plugin sha256_password." |
Turns out I was using the wrong user, sorry. |
Started receiving this error from Ubuntu 20.04's mysql 8.0.19. My users are using
caching_sha2_password
and the server default is also set to that, however it's still requestingsha256_password
. This may be a bug in Ubuntu's mysql build, but I went ahead an made an implementation of the auth plugin for node-mysql2 and will post a PR.The text was updated successfully, but these errors were encountered: