设为首页 加入收藏

TOP

关于Navicat连接MySQL 报 Authentication plugin 'caching_sha2_password' cannot be loaded
2019-09-17 17:35:10 】 浏览:23
Tags:关于 Navicat 连接 MySQL Authentication plugin ' caching_sha2_password' cannot loaded

报错原因:

  报这个错是因为MySQL8使用了 caching_sha2_password 加密方式而之前MySQL使用的是 mysql_native_password 加密方式,而你的Navicat不支持 caching_sha2_password 加密方式造成的。

 

解决方案:

  目前我知道的解决方案有两种

  1. 修改mysql加密方式

1 use mysql;
2 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码'; 
3 FLUSH PRIVILEGES;

  2. 给Navicat添加插件

    先从在网上找到 caching_sha2_password.dll , 百度云:https://pan.baidu.com/s/1Z38Mat6YMHoUDRY7DJayrw  提取码: sdss

    然后将dll文件直接放到Navicat根目录即可。

日常写Bug

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇centos下安装myrocksdb 下一篇hadoop体系架构

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目