解决Navicat连接MySQL时“Client does not support authentication protocol requested by server; consider upgrading MySQL client”的问题
程序员文章站
2022-06-17 21:46:12
原因:mysql server使用的是8.0的版本,密码加密方式发生了变化,使用的Navicat版本较低,不能适配8.0的mysql的加密方式。 3种解决方式: 1、下载安装最新版的Navicat 2、打开mysql自带的命令行客户端,输入密码 ALTER USER 'root'@'localhos ......
原因:mysql server使用的是8.0的版本,密码加密方式发生了变化,使用的navicat版本较低,不能适配8.0的mysql的加密方式。
3种解决方式:
1、下载安装最新版的navicat
2、打开mysql自带的命令行客户端,输入密码
alter user 'root'@'localhost' identified by 'abcd' password expire never; #修改加密方式
alter user 'root'@'localhost' identified with mysql_native_password by 'abcd'; #适配navicat
flush privileges; #刷新生效
用户名、mysql server的地址、密码要换为自己的
3、使用其它的数据库管理工具,比如datagrip
推荐阅读
-
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
-
解决Navicat连接MySQL时“Client does not support authentication protocol requested by server; consider upgrading MySQL client”的问题
-
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法_php技巧
-
连接8.0.15mysql 报错 client does not support authentication protocol requested by server ,consider upgra
-
nodejs连接mysql报错:Client does not support authentication protocol requested by server; consider upgrad
-
MySQL8.0报错Client does not support authentication protocol requested by server; consider upgrading My
-
MySql 链接报错“Client does not support authentication protocol requested by server; consider upgradin”
-
node连接数据库报错Client does not support authentication protocol requested by server; consider upgrading M