-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Compatibility Issue of MySQL 5.7 & 8.0 #779
Comments
I also ran into this problem, but have more information and a solution. MySQL 8.0 changed its default authentication plugin from
In order to make connections with SQLX, it seems user account must be identified by the default authentication plugin. I've updated my user back to
|
Thanks!! @Handfish |
Amazing! Thank you @Handfish! |
Thanks!!! @Handfish |
@abonander Can close as already fixed. |
Hi, I was trying the library for the first time and connecting to MySQL. However, I found a compatibility issue on two different version of MySQL.
Using the same connection string
mysql://username:password@127.0.0.1/db
, it cannot login to MySQL 8.0 but successful on MySQL 5.7.Error message when logging in MySQL 8.0 are as follows:
Thank you so much!!
The text was updated successfully, but these errors were encountered: