1251 - Client does not support authentication protocol 解决办法
程序员文章站
2022-05-26 15:14:27
...
在docker中安装完mysql,用Navicat连接时报错1251 - Client does not support authentication protocol (1251-客户端不支持服务器请求的认证协议),出现这个问题简单地说是因为安装mysql的版本太高了,导致mysql服务器要求的认证协议与客户端不一致,安装时我用的命令是:
docker pull mysql
使用这个命令下载的是最新版的mysql,(我记得好像是8.x)。
把这个image卸载掉,用如下命令安装一个5.7的,问题就可以解决了。
docker pull mysql:5.7
冒号后面是tag位,用来指定版本。
推荐阅读
-
MYSQL出现" Client does not support authentication "的解决方法
-
MYSQL出现" Client does not support authentication "的解决方法
-
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
-
本地安装Mysql后,navicat链接异常:Clinet dose not support authentication protocol request by server ; consider upgrading MySQL client
-
mysql Client does not support authentication protocol requested by server; consider upgrading MySQL
-
用root用户登陆PHPmyAdmin出现Client does not support authentication ...
-
解决Navicat连接MySQL时“Client does not support authentication protocol requested by server; consider upgrading MySQL client”的问题
-
MYSQL出现" Client does not support authentication "
-
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法_php技巧
-
连接8.0.15mysql 报错 client does not support authentication protocol requested by server ,consider upgra