Mysql 远程链接报错 1130 - Host 'xxx' is not allowed to connect to this MySQL server的方法

select Host,User,Password from mysql.user;
update mysql.user set `Host` = '%' where `Host` = '::1' and User = 'root';
flush privileges;
相关文章
相关标签/搜索