MYSQL远程访问报错解决办法:1130-host ... is not allowed to connect to this MySql server
帐号只能在本地访问,不允许远程访问,需要在本地电脑登录MySQL后,更改MySQL 数据库里的user表里的host项,从localhost修改为’%’ mysql>use mysql; mysql>update user set host=’%’ where user=root mysql>select host,user from user; 最后还需要一个执行语句使其修改生效 mysql>FLUSH PRIVILEGES;