Navicat连接Mysql报错:Client does not support authentication protocol requested by server;
Posted Duanson
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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;
以上是关于Navicat连接Mysql报错:Client does not support authentication protocol requested by server;的主要内容,如果未能解决你的问题,请参考以下文章
Navicat 远程连接docker容器中的mysql 报错1251 - Client does not support authentication protocol 解决办法
Navicat连接Mysql报错:Client does not support authentication protocol requested by server;
Navicat连接Docker中的mysql报错:client does not support authentication
Navicat连接Mysql报错:Client does not support authentication protocol requested by server;
MySQL下载成功后,用Navicat和phpmyadmin连接mysql出错,并且Navivat报错client does not support authentication
Navicat连接Mysql 8.0.16报错:Client does not support authentication protocol requested by server?