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


  上篇刚写了安装Mysql,想用Navicat去连接,然后就报错了,此处记录报错解决。

  Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested  by server;解决如下:

命令如下:

1、use mysql;

2、alter user 'root'@'localhost' identified with mysql_native_password by '********';

3、flush privileges;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM