我的python代码:
import mysql.connector as sql
db = sql.connect(host="localhost",user="root",password="senha123")
它返回: mysql.connector.errors.NotSupportedError:不支持身份验证插件'caching_sha2_password'
有什么想法吗?
PS:我已经安装了mysql-connector,mysql-connector-python,mysql-connector-python-rf