Navicat连接mysql8.0.13报错:

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

网上尝试方法:

ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; 

结果

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

 再次尝试连接还是报同样错误。

后面尝试换了一种方法  alter user 'root'  identified with mysql_native_password by 'ycg123';

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

 连接成功

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

相关文章: