-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
cannot connect: no attribute '_auth_plugin_name' #86
Comments
Thanks for report! Could you make a PR? |
I don't know what the default should be. |
t184256
added a commit
to t184256/asyncmy
that referenced
this issue
Feb 16, 2024
... in case it doesn't get set later. Fixes: long2ice#86
Hm, I've checked aiomysql (https://github.com/aio-libs/aiomysql/blob/83aa96e12b1b3f2bd373f60a9c585b6e73f40f52/aiomysql/connection.py#L218) and it uses |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cannot use asyncmy to connect to a specific server, while aiomysql works.
Code inspection suggests that
_request_authentication
uses_auth_plugin_name
unconditionally:asyncmy/asyncmy/connection.pyx
Line 787 in 044a4b0
... while it's only set if a certain condition is met:
asyncmy/asyncmy/connection.pyx
Line 1013 in 044a4b0
Should it have some default pre-set?
Version: python3-asyncmy-0.2.9-1.fc39.x86_64
Server reports itself as MariaDB,
Server version: 5.1.73-log Source distribution
.The text was updated successfully, but these errors were encountered: