mysql Client does not support authtication protocol requested by server;consider upgrading mysql cli

Posted 单纯的桃子

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql Client does not support authtication protocol requested by server;consider upgrading mysql cli相关的知识,希望对你有一定的参考价值。

问题:新安装的mysql服务用客户端程序连接时显示失败,如下图所示

 

 原因:其实这个是一个简单的权限与安全问题

 解决:命令提示符窗口运行几句代码即可

 

结果:

 

 

注意:

1.先进入到mysql的安装路径

 

 

2.要先登陆,否则出现下图所示现象

 

以上是关于mysql Client does not support authtication protocol requested by server;consider upgrading mysql cli的主要内容,如果未能解决你的问题,请参考以下文章

Navicat连接Docker中的mysql报错:client does not support authentication

client does not support authentication

NativeForMySQL 连接MySQL8 提示:1251- Client does not support authentication protocol

mysql服务设置远程连接 解决1251 client does not support ..问题

docker部署mysql远程连接 解决1251 client does not support ..

mysql服务设置远程连接 解决1251 client does not support ..问题