Navicat连接mysql8.0报错 2059 1396

很多人写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;

posted on 2018-12-19 18:45  没有鱼丸粗面  阅读(945)  评论(0)    收藏  举报