错误号码1130 Host 'xxxxx' is not allowed to connection to this MYSQL server解决方案
先通过终端root用户登录mysql。
1,grant all privileges on *.* to 创建的用户名 @"%" identified by "密码";
2,flush privileges;
解释:
grant 权限 on 数据库名.表名 to 用户@登录主机(xxx) identified by 密码
输入后即可远程连接mysql