mysql -u root -p
#使用mysql库: use mysql #查询信息: select user,host from user
update user set host="%" where user="root"
flush privileges
systemctl stop firewalld.service
MYSQL