码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2018-06-20 14:42:25      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:命令   serve   flush   use   not   .com   cli   TE   client   

  上篇刚写了安装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;

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

标签:命令   serve   flush   use   not   .com   cli   TE   client   

原文地址:https://www.cnblogs.com/zichuan/p/9203129.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!