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

Navicat连接mysql8.0报错 2059 1396

时间:2018-12-19 19:32:04      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:word   none   成功   cat   mysq   连接   user   ges   spl   

很多人写alter user ‘Xue‘@‘%‘ identified with mysql_native_password by ‘123456‘;

测试我本地不能用会报1396错误;

将%改为localhost可以连接成功;

alter user ‘Xue‘@‘localhost‘ identified with mysql_native_password by ‘123456‘;

FLUSH PRIVILEGES;

Navicat连接mysql8.0报错 2059 1396

标签:word   none   成功   cat   mysq   连接   user   ges   spl   

原文地址:https://www.cnblogs.com/1lwf/p/10145183.html

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