navicat 连接 mysql 出现Client does not support authentication protocol requested by server
程序员文章站
2022-06-01 16:29:06
...
方法一:
mysql> SET PASSWORD FOR ‘some_user’@’some_host’ = OLD_PASSWORD(‘newpwd’);
其二:
mysql> UPDATE mysql.user SET Password =OLD_PASSWORD(‘newpwd’) WHERE Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;
上面some_user、some_host、newpwd按自己实际情况修改。
方法二:
USE mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123123';
FLUSH PRIVILEGES;
root是用户名,localhost是ip地址127.0.0.1都是特指本机,mysql_native_password是旧的密码验证机制,123123是新密码,最后别忘了分号;
推荐阅读
-
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