-
Notifications
You must be signed in to change notification settings - Fork 976
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
Connection from python 2.7 with PyMySQL to ProxySQL admin interface sometimes fails #1934
Comments
Have dumped two session:
Failed:
My test password SHA1:
To test on python mysql authentication I have created a function:
For first session:
For second session:
So the password authentication step seems ok from the perspective of the client in both cases. |
This appears to be a bug in pymysql version 0.9.2:
|
I tested with pymysql 0.8.0 (what is installed by default on my system) and I couldn't reproduce it. Thank you @Seitanas for pointing it appears to be a bug in pymysql, this saved us a lot of time! Closing |
Tested on:
Centos 7
ProxySQL version 2.0.2-1-g533442f, codename Truls
python 2.7.5
python2-PyMySQL: 0.9.2
Sometimes this code fails:
Logs in ProxySQL server:
Running test multiple times:
Same python and library tested on MariaDB with no connection errors, also connection to proxysql admin interface from mysql client works fine.
The text was updated successfully, but these errors were encountered: