mysql 报错Authentication method 'caching_sha2_password' is not supported.

原因:mysql版本身份验证引起的, 官网解释:https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html 解决方法: 1.查询mysql数据库中user表plugin列的值,是否如下 如果不同请如下操作:        1.1:ALTER USER 'root'@'localhost' ID
相关文章
相关标签/搜索