mysql开启远程连接

 
mysql> use mysql;
mysql> update user set host="%" where user = "root";
mysql> flush privileges;