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;

猜你喜欢

转载自www.cnblogs.com/1lwf/p/10145183.html