MySQL database can be accessed by any ip connection method

> use mysql;

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

> flush privileges;

 

Guess you like

Origin www.cnblogs.com/mafeng/p/11025145.html