方案1、登录mysql控制台:mysql -h192.168.20.199 -uroot -proot flush hosts 方案2、直接重启服务:service mysqld restart(暴力重启) 相关文章: