没有合适的资源?快使用搜索试试~ 我知道了~
首页mysql 8.0 错误The server requested authentication method unknown to the client解决方法
资源详情
资源评论
资源推荐

mysql 8.0 错误错误The server requested authentication
method unknown to the client解决方法解决方法
在本篇文章里小编给大家整理的是关于mysql 8.0 错误The server requested authentication method unknown to
the client解决方法,有此需要的朋友们可以学习下。
mysql 安装了最新版本8.0.11后创建用户并授权后,授权的用户连接数据库提示
The server requested authentication method unknown to the client
查阅一些相关的资料后发现是由于新版本的mysql账号密码解锁机制不一致导致的
解决办法:
删除创建的用户和授权,
1. 找到mysql配置文件并加入
2. default_authentication_plugin=mysql_native_password
变为原来的验证方式,然后从新创建用户并授权即可
或
mysql -uroot -p
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
以上就是出现这个错误的解决方法,如果大家还有更好的解决方案可以给在我们微信公众号留言,感谢大家对我们的支持。
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0