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

Error on mysql connect - solved #9

Open
carlofab opened this issue Mar 10, 2021 · 0 comments
Open

Error on mysql connect - solved #9

carlofab opened this issue Mar 10, 2021 · 0 comments

Comments

@carlofab
Copy link

I recently upgraded my server to Ubuntu 20.04 (Python 2.7.18, mysql Ver 8.0.23) and I noticed the script was'nt working.
After a long troubleshoot I discovered this issue:

mysql_exceptions.OperationalError: (2059, "Authentication plugin 'caching_sha2_password' cannot be loaded

I tested the workaround provided here (https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded) and I suggest to update the readme with this useful command

ALTER USER 'yourusername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youpassword';

Regards

@carlofab carlofab changed the title Error on mysql connect Error on mysql connect - solved Mar 10, 2021
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