MySql 链接报错“Client does not support authentication protocol requested by server; consider upgradin”
程序员文章站
2022-06-12 22:30:27
...
Navicat 链接 Mysql 提示:
client does not support authentication protocol requested by server,consider upgrading mysql client。
VS Code 链接 Mysql 提示:
client does not support authentication protocol requested by server,consider upgrading mysql client。
解决方法:
修改加密规则为普通模式,默认是严格加密模式
-
进入mysql控制面板,输入mysql -uroot -p,输入密码
-
在控制面板上依次输入一下内容:
1). 修改加密规格:ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘password’ PASSWORD EXPIRE
NEVER;2).更新用户密码:
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY
‘password’;3).刷新权限
FLUSH PRIVILEGES;
3.输入刚刚修改的密码,再次测试连接即可。
参考:mysql8.0版本 报错:Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol…
上一篇: MySQL8.0报错Client does not support authentication protocol requested by server; consider upgrading My
下一篇: node连接数据库报错Client does not support authentication protocol requested by server; consider upgrading M
推荐阅读
-
本地安装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”的问题
-
连接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
-
关于nodejs报错Client does not support authentication protocol requested by server; consider upgrading My
-
MySql8.0,使用Navicat连接时报错:Client does not support authentication protocol requested by server;consider