您好!欢迎来到源码客栈

源码客栈

热门搜索: 商城    学生    图书   

Navicat无法连接MySQL8.0

分类:博客 时间:2023-06-04 14:23 浏览:367
概述
251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client-Navicat无法连接MySQL8.0数据库
内容

Navicat无法连接MySQL8.0的原因是因为加密规则比较严格,因此只需要登陆mysql的终端进行修改命令即可

251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

解决办法:登录之后

4、更改加密方式:


mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;

5、更改密码:该例子中 123为新密码


mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

6、刷新:


mysql> FLUSH PRIVILEGES;


Q@UI})ZGJ2(JJ5L}262{@T2.png


评论
联系我们
微信:15672788632 QQ:3531912911
购买这套源码
联系客服
购买源码 源码咨询 订制开发 联系客服
17766091168
手机版

扫一扫进手机版
返回顶部