Skip to content

Error on mysql connect - solved #9

@carlofab

Description

@carlofab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions