mysql8.0 1251错误

ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123';

 FLUSH PRIVILEGES;

经过以上步骤就可以了

posted on 2019-02-13 10:33  lvlv岁月流逝  阅读(106)  评论(0编辑  收藏  举报

导航