mysql 1130 ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server

 

mysql -u root -p  
mysql;use mysql;  
mysql;select 'host' from user where user='root';  
mysql;update user set host = '%' where user ='root';  
mysql;flush privileges;  

posted on 2014-08-18 17:18  lvlv岁月流逝  阅读(146)  评论(0编辑  收藏  举报

导航