#配置允许任何主机连接
mysql -u root -p
mysql>use mysql;
mysql>update user set host = "%" where user ="root";
mysql>flush privileges;
#配置允许任何主机连接
mysql -u root -p
mysql>use mysql;
mysql>update user set host = "%" where user ="root";
mysql>flush privileges;