You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import error
cannot import name 'scramble_old_password' from 'pymysql._auth'
To Reproduce
from pymysql import _auth
_auth.scramble_old_password()
Hi, I had a problem with pymysql generating an attribute error in a service running on docker. Looking at the code I noticed that there is a call to a method that doesn't exist in the "_auth" file.
scramble_old_password doesn't exist on _auth file anymore.
The text was updated successfully, but these errors were encountered:
DiegoMagg
changed the title
Attribute error connections.py triyng to use an inexisting method
Attribute error connections.py trying to use an inexisting method
Aug 27, 2021
Import error
cannot import name 'scramble_old_password' from 'pymysql._auth'
To Reproduce
Hi, I had a problem with pymysql generating an attribute error in a service running on docker. Looking at the code I noticed that there is a call to a method that doesn't exist in the "_auth" file.
https://github.com/PyMySQL/PyMySQL/blob/main/pymysql/connections.py line 966.
scramble_old_password
doesn't exist on _auth file anymore.The text was updated successfully, but these errors were encountered: