想用Navicat去连接,然后就报错了,此处记录报错解决。
Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested by server;解决如下:

命令如下:
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '********';
3、flush privileges;
本文提供了解决Navicat连接MySQL Server 8.0版本时遇到的“Client does not support authentication protocol requested by server”错误的方法。通过执行特定的SQL命令,可以更改root用户的认证方式为mysql_native_password,从而成功解决该问题。
5300

被折叠的 条评论
为什么被折叠?



