成功解决错误1130 Host xxx is not allowed to connect to this MySQL server

前言

使用Navicat远程访问MySQL 的时候,报错:

Host xxx is not allowed to connect to this MySQL server

问题解决

进入到数据库里面,

设置host为“%”后,便可以允许远程访问

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

 刷新权限

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