您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

MySQL 8.0.11错误,连接到caching_sha2_password找不到指定的模块

MySQL 8.0.11错误,连接到caching_sha2_password找不到指定的模块

我有以下解决方案:在这样的部分中更改 my.ini@H_301_3@[MysqLd]:

@H_301_3@#default_authentication_plugin=caching_sha2_password  (comment line!)
default_authentication_plugin=MysqL_native_password   (new line)

在命令行客户端的root用户下连接到MysqL并执行:

@H_301_3@ALTER USER 'root'@'localhost' IDENTIFIED WITH MysqL_native_password BY 'xxx';

@H_301_3@xxx您当前的密码在哪里?

MySQL 2022/1/1 18:16:01 有319人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶