Fork me on GitHub

解决MySQL第一次连接失败

上一篇讲了MySQL数据库的安装,安装之后我们用Navicat工具连接时可能会出现以下这种情况,就这种情况给出了解决办法

问题

Navicat for MySQL 连接数据库时报错 client dose not support authentication protocol requested by server;consider

解决办法

1
2

命令如下

1
2
3
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '********';
3、flush privileges;

本文标题:解决MySQL第一次连接失败

文章作者:LiuXiaoKun

发布时间:2018年11月15日 - 00:11

最后更新:2018年11月15日 - 12:11

原始链接:https://LiuZiQiao.github.io/2018/11/15/解决MySQL第一次连接失败/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。

0%