Navicat连接Mysql报错:
Client does not support authentication protocol requested by server
解决:
mysql> use mysql;
Database changed
mysql> alter user 'root'@'%' identified with mysql_native_password by '123456';
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
设置完成后,从新连接即可。
本文详细介绍了当使用Navicat连接Mysql时遇到“Client does not support authentication protocol requested by server”错误的解决步骤。通过更改root用户的认证方式为mysql_native_password,并刷新权限,可以有效解决该问题。
5422

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



