設定MYSQL允許用IP訪問

王磊的部落格發表於2016-05-30

 

mysql>use mysql;


mysql>update user set host = '%'  where user ='root';


mysql>flush privileges;


mysql>select 'host','user' from user where user='root';


mysql>quit

 

相關文章