GreatSQL社区

搜索

[已解决] 客户端启动报错Authentication plugin 'caching_sha2_password' cannot be...

144 1 2024-2-25 11:16
本帖最后由 cse_engineer 于 2024-2-25 11:32 编辑

问题:安装完成后,利用默认密码启动客户端,https://greatsql.cn/docs/8032-25 ... centos-install.html

报错:Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

尝试:
在my.cnf当中添加default_authentication_plugin=mysql_native_password
停止服务之后
systemctl daemon-reload,再启动服务。 报错相同。


其他信息:
mysql --version 输出如下:
mysql  Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
全部回复(1)
cse_engineer 2024-2-25 11:32:28
换了客户端程序,已解决。
cse_engineer

10

主题

0

博客

32

贡献

注册会员

Rank: 2

积分
53

助人为乐(铜)勤学好问(铜)

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-4-28 06:18 , Processed in 0.014751 second(s), 8 queries , Redis On.
快速回复 返回顶部 返回列表