Navicat连接Mysql 8.0.16报错:Client does not support authentication protocol requested by server?

Posted java李杨勇

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Navicat连接Mysql 8.0.16报错:Client does not support authentication protocol requested by server?相关的知识,希望对你有一定的参考价值。


解决方法的命令如下:

切换到mysql安装目录下 :C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin

登录进去执行以下命令

use mysql;

alter user root@localhost identified with mysql_native_password by ********;

flush privileges;

Navicat连接Mysql


以上是关于Navicat连接Mysql 8.0.16报错:Client does not support authentication protocol requested by server?的主要内容,如果未能解决你的问题,请参考以下文章

安装数据库MySQL8和Navicat管理工具

SqlSugar 连接MySql 8.0.29报错

navicat连接mysql: 报错1042 cant get hostname for your address

Navicat远程连接mysql教程及Navicat报错10061解决办法

Navicat连接mysql报错1862

Navicat 报错1251连接不成功Mysql