设为首页 加入收藏

TOP

Authentication plugin 'caching_sha2_password' cannot be loaded
2019-05-16 02:08:41 】 浏览:677
Tags:Authentication plugin ' caching_sha2_password' cannot loaded

1.在用mysql 8.0 版本时连接数据库遇到问题,提示如下

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

字面意思看起来似乎是认证插件无法加载,刚开始以为是软件的问题,重新下载了最新版的,仍然没有解决问题,最终在stackoverflow找到解决方案,原版在这里

【解决方案】
- 1.从系统偏好设置里边打开mysql.
- 2.点击”Initialize Database”
- 3.设置密码,选择”Use legacy password”,->OK
- 4.重启mysql,打开navicate ,重新连接数据库。

image

image

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇flume读取日志数据写入kafka &nbs.. 下一篇Flume 自定义source   -- S..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目