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

223 阅读1分钟

解决方法的命令如下:

切换到mysql安装目录下 :C:\Program Files\MySQL\MySQL Server 8.0\bin

登录进去执行以下命令

use mysql;

alter user 'root'@'localhost' identified with mysql_native_password by '********';

flush privileges;