MySQL报1130错误解决办法

update user set password_expired='N' where host = '127.0.0.1';

update user set password=password('root') where user='root';

update user set host='%' where user='root' and host='localhost';

flush privileges;
原文地址:https://www.cnblogs.com/azhqiang/p/9155276.html