MySQL数据库可以用任意ip连接访问的方法

> use mysql;

> update user set host=‘%‘ where host=‘localhost‘;

> flush privileges;