zoukankan      html  css  js  c++  java
  • Mysql 8.0.11版本,安装成功,使用Navicat连接失败。

    Note:本文只针对mac!!

    问题

    安装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报错
  • 相关阅读:
    map-count
    map-count
    map-constructors
    map-constructors
    multiset-find
    multiset-find
    multiset-insert
    C++ string详解
    treap(树堆)
    程序设计语言的变革
  • 原文地址:https://www.cnblogs.com/icebutterfly/p/9201691.html
Copyright © 2011-2022 走看看