服务器,数据库连接注意mysql的user表

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

原文地址:https://www.cnblogs.com/yanjunwu/p/5151609.html