解决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; 

 

这样就可以连接了

posted on 2018-07-10 22:16  zhangyukun  阅读(2754)  评论(0编辑  收藏  举报

导航