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 8.0.16报错:Client does not support authentication protocol requested by server?的主要内容,如果未能解决你的问题,请参考以下文章
navicat连接mysql: 报错1042 cant get hostname for your address