内网连接mysql出现Communications link failure错误解决 修改 wait_timeout 和 interactive_timeout 没用。 重启也没用。 最后发现是防火墙的问题,把mysql数据库所在的服务器防火墙放开数据库端口,或直接停用就可以了。