解决 MySQL 无法远程连接 ERROR 1130: Host ‘10.0.0.100’ is not allowed to connect to this MySQL server

#配置允许任何主机连接

mysql -u root -p

mysql>use mysql;

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

mysql>flush privileges;