navicat 连接 mysql 报错:client does not support authentication protocal requested by server

1、命令行登录mysql :mysql -u root -p

2、在mysql> 输入命令:alter user 'root'@'%' identified with mysql_native_password by 'root';

3、用navicat尝试再次连接,成功!

猜你喜欢

转载自blog.csdn.net/qq_38282454/article/details/82493371