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

> use mysql;

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

> flush privileges;

原文地址:https://www.cnblogs.com/mafeng/p/11025145.html