当前位置: 首页 > 工具软件 > MySQL Client > 使用案例 >

NAVICAT 链接MYSQL 显示 ;CONSIDER UPGRADING MYSQL CLIENT

单于奕
2023-12-01

NAVICAT 链接MYSQL 显示 CLINET DOSE NOT SUPPORT AUTHENTICATION PROTOCOL REQUEST BY SERVER ;CONSIDER UPGRADING MYSQL CLIENT

1 在命令窗口 输入mysql -uroot -p 首先通过cmd进入mysql

2 更改加密方式

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
Query OK, 0 rows affected (0.10 sec)

3 更改密码

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123';
Query OK, 0 rows affected (0.35 sec)

这个密码是navicat链接mysql 的密码

4刷新

 
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.28 sec)
 类似资料: