Navicat连接mysql报错1130

1、登录linux服务器的mysql

2、use mysql

3、select host from user where user=‘root’;

4、执行update user set host = ‘%’ where user ='root’将Host设置为通配符%。

5、flush privilegs;

posted @ 2019-12-04 14:10  牵手相守  阅读(156)  评论(0)    收藏  举报