-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
Docker mysql:latest keep mysql2 to authenticate with root user #777
Comments
can you check what auth method is used for that user? Also what is the mysql server version when you pull mysql:latest ? |
might be related to #30 if that's insecure auth protocol You might work around this by providing auth switch handler |
Previous version, where auth was working (mysql:latest built 6 weeks ago) :
None working auth (mysql:latest built today) ;
Auth method is the default one set up by Sequelize which I don't believe has anything special. No SSL here. I had no trouble connecting otherwise so I do believe it's a client related issue. |
likely it's changes in mysql 8 from mysqljs/mysql#1962 :
If you can convert your user to |
Ok, thanks :) |
@sidorares It seems like the mysqljs/mysql#1962 still open and no resolution has been reached yet. Any updates ? |
Hello,
I've noticed that this commit on docker mysql image made all my tests failed :
I was using Gitlab CI with mysql:latest and got this error :
Client does not support authentication protocol requested by server; consider upgrading MySQL client
Everything ok with older version of mysql image. This happened with mysql2:1.5.3 (latest)
Might help other people understanding why CI tests are suddenly failing :)
The text was updated successfully, but these errors were encountered: