下载地址:http://dev.mysql.com/downloads/mysql 我这里下载的是安装版本mysql
SELECT Host,User FROM user;
UPDATE user SET Host = '%' WHERE User = 'root' LIMIT 1;
flush privileges;