上篇写了安装Mysql,想用Navicat去连接,然后就报错了,此处记录报错解决。
Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested by server;
解决如下:
修改密码后,重新登录: mysql -u root -p
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '密码';
3、刷新:flush privileges;
注意:本文归作者所有,未经作者允许,不得转载