使用navicat连接mysql报client does not support authentication protocol requested by server解决办法

今天安装了mysql8.0.13,安装成功后使用navicat连接时报client does not support authentication protocol requested by server;consider upgrading MySQL client

解决方案:

步骤一:在黑窗口使用命令登录mysql

步骤二:执行 use mysql;

步骤三:执行alter user 'root'@'localhost' identified with mysql_native_password by '密码';

到此处就可以使用navicat连接到mysql了,如果不行可以执行步骤四刷新一下

步骤四:执行FLUSH PRIVILEGES;

扫描二维码关注公众号,回复: 8735271 查看本文章
发布了24 篇原创文章 · 获赞 9 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/zh2508/article/details/85002677