Linux下MySQL Error 1130 不能远程访问 ERROR 1130 (HY000): Host '192.168.10.100'is not allowed to connect to this MySQ L server 在MySQL host上按如下命令操作
mysql -u root -ppassword //进入mysql控制台
mysql>use mysql;
mysql>update user set host = '%' where user = 'root'; //这个命令执行错误时可略过 mysql>flush privileges;
mysql>select host, user from user; //检查‘%’ 是否插入到数据库中 mysql>quit