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

Client does not support authentication protocol requested by server #42

Open
pmiddend opened this issue Aug 27, 2021 · 2 comments
Open

Comments

@pmiddend
Copy link

pmiddend commented Aug 27, 2021

When trying to connect to me SQL server, I get this:

ERRException (ERR {errCode = 1251, errState = "08004", errMsg = "Client does not support authentication protocol requested by server; consider upgrading MySQL client"})

Any ideas on how to fix this? Is this related to #40?

@yura
Copy link

yura commented Jan 29, 2022

I had the same issue, got solution at https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server

@whatsupfudd
Copy link

Normally it's due to having the mysql db server running with 'caching_sha2_password' authentication, which isn't currently supported by mysql-haskell. The quick fix for one with access to the db server is to change the authentication method with (replace <...> with correct data):
alter user ''@'' identified with mysql_native_password by ''.

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

3 participants