This topic created in 3701 days ago, the information mentioned may be changed or developed.
我使用各种版本的 mysql-connector-python 去连接 mysql5.0.95 ,总是报错误:
mysql.connector.errors.NotSupportedError: Authentication with old (insecure) passwords is not supported. For more information, lookup Password Hashing in the latest MySQL manual
但是我不明白如何像在命令行一样设定 secure-auth=0 给 mysql-connector-python 设定参数?