欢迎投稿

今日深度:

navicat连接异常 authentication plugin 'caching_sha2_password' 问题解决,

navicat连接异常 authentication plugin 'caching_sha2_password' 问题解决,


mysql 8.0 默认使用 caching_sha2_password 身份验证机制 —— 从原来的 mysql_native_password 更改为 caching_sha2_password。

从 5.7 升级 8.0 版本的不会改变现有用户的身份验证方法,但新用户会默认使用新的 caching_sha2_password 。

客户端不支持新的加密方式。

修改用户的密码和加密方式。在命令行模式下进入mysql。

输入以下命令:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

参考

原文链接:https://blog.csdn.net/m290345792/article/details/88316962

www.htsjk.Com true http://www.htsjk.com/Mysql/41464.html NewsArticle navicat连接异常 authentication plugin caching_sha2_password 问题解决, mysql 8.0 默认使用 caching_sha2_password 身份验证机制 —— 从原来的 mysql_native_password 更改为 caching_sha2_password。 从 5.7 升级 8.0 版...
相关文章
    暂无相关文章
评论暂时关闭