Navicat连接Mysql报错:Client does not support authentication protocol requested by server;

一、Navicat

在生产环境中操作MySQL数据库还是推荐使用命令行工具mysql,但在我们自己开发测试时,可以使用可视化工具Navicat,以图形界面的形式操作MySQL数据库。

官网下载:https://www.navicat.com/en/products/navicat-for-mysql

网盘下载:https://pan.baidu.com/s/1bpo5mqj

 

Navicat连接MySQL Server8.0版本时报错:

Client does not support authentication protocol requested  by server;

Navicat连接Mysql报错:Client does not support authentication protocol requested by server;

 

 

解决如下:

命令如下:

1、use mysql;

2、alter user 'root'@'localhost' identified with mysql_native_password by 'admin';

3、flush privileges;

 

上面的admin是我的密码,读者改为自己的即可

 Navicat连接Mysql报错:Client does not support authentication protocol requested by server;

 

 双击成功连接!

上一篇:关于node中 mysql Client does not support authentication protocol requested by server; consider upgradin


下一篇:LintCode 78:Longest Common Prefix