问题

安装mysql成功之后,想自己弄个数据库试试,但是报错。并不是错误代号,而是一段代码:

Authentication plugin 'caching_sha2_password' cannot be 
loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_
password.so, 2): image not found

大概意思就是无法加载身份验证插件’caching_sha2_password”

解决

    1. 打开系统偏好设置,找到mysql,点击Initialize Database。
    2. 输入你的新密码。
    3. 选择‘Use legacy password‘。
    4. 重启mysql服务。
    5. 现在可以使用Navicat链接。 
      Mysql 8.0.11版本,安装成功,使用Navicat连接失败。

相关文章:

  • 2022-01-20
  • 2022-12-23
  • 2021-07-15
  • 2021-05-24
  • 2021-07-29
  • 2022-12-23
  • 2021-07-02
  • 2022-01-05
猜你喜欢
  • 2021-12-04
  • 2021-10-02
  • 2021-11-17
  • 2021-06-13
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案