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

Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested  by server;解决如下:

  首先我们连接数据库    

mysql -u 用户名 -p

  接下来输入你的密码,登录成功后显示下面的信息

  

   我们接着使用下面sql指令打开mysql这个数据库

use mysql;

  修改用户的认证规则

alter user '你的用户名'@'localhost' identified with mysql_native_password by '你的密码';

  最后刷新权限

flush privileges;

  

  

原文地址:https://www.cnblogs.com/duansong/p/12291591.html