client does not support authentication protocol requested by server;consider upgrading mysql client

我也是菜鸟,也是新手,一起学习,一起进步,加油;

 

安装了最新版8.0 mysql;

client does not support authentication protocol requested by server;consider upgrading mysql client_第1张图片

使用navicat 10链接时 提示:

 client does not support authentication protocol requested by server;consider upgrading mysql client

 

 

解决:

命令窗口:登录:

mysql -u root -p 

登录后执行:

ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '你的root账号密码';

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的root账号密码';

SELECT plugin FROM mysql.user WHERE User = 'root';

 

然后再  使用链接测试 应该就可以了;

client does not support authentication protocol requested by server;consider upgrading mysql client_第2张图片

你可能感兴趣的:(一起学习Mysql)