解决mysql 8 安装后命令行可以连接,navicat不能连接的问题

错误代码: client does not support authentication

解决办法:

  1 使用命令行进入数据库

  2 选着数据库  mysql   --> user mysql

  3 alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 

  4 flush privileges; 

这样就可以连接了

原文地址:https://www.cnblogs.com/cxygg/p/9291799.html