安装了新版8.0的mysql,用navicat链接会报
ERROR 1251: Client does not support authentication pro
用sqlyog 会报 链接2059 - authentication plugin ‘caching_sha2_password’ .
但是用cmd命令执行却可以登录
原因就是客户端链接工具没有caching_sha2_password 这个散列算法,
最简单的方法就是改密码的散列格式,使用旧有的native来设置密码,
这样就可以登录了,具体如下。
关于mysql链接报错
我们可以清楚的看到我们的用户密码plugin在修改之前是与其他不一样的。

相关文章:

  • 2021-09-03
  • 2021-04-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-11-14
  • 2021-11-15
  • 2021-11-04
猜你喜欢
  • 2021-06-10
  • 2022-02-14
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2021-10-26
  • 2021-06-22
相关资源
相似解决方案