gpt4 book ai didi

mysql - 无法加载身份验证插件 'caching_sha2_password'

转载 作者:IT老高 更新时间:2023-10-28 12:47:50 29 4
gpt4 key购买 nike

我正在将 MySQL - 8.0 与 MySQL Workbench 连接并收到以下错误:

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

我也尝试过使用其他客户端工具。

有什么解决办法吗?

最佳答案

您可以像这样更改密码的加密方式。

ALTER USER 'yourusername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youpassword';

关于mysql - 无法加载身份验证插件 'caching_sha2_password',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49194719/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com