在使用MySQL-Front连接mysql的时候发生的这个错误
ERROR 1130: Host 192.168.88.160 is not allowed to connect to this MySQL server
更改 mysql 数据库里的 user表里的 host项
localhost改称%
mysql -u root -p
mysql>use mysql;
mysql>update user set host = '%' where user ='root';
mysql>flush privileges;
mysql>select 'host','user' from user where user='root';
现在就可以连接了!
权限
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' with grant option;