Python 连接Mysql 8.0报mysql.connector.errors.NotSupportedError: Authentication plugin ‘caching_sha2_pas
连接mysql 8.0报mysql.connector.errors.NotSupportedError: Authentication plugin ‘caching_sha2_passwaord'错误首先这个错误是数据库连接出错,并且mysql8.0身份验证插件是caching_sha2_passwaord背景:因为早期mysql身份验证插件为:mysql_native_password,所以在没有设置身份验证插件方式的情况下默认走的是mysql_native_password。而8.0版本在连接的时候
原创
2022-06-08 17:17:30 ·
2170 阅读 ·
0 评论