iptables开启后不能连接到数据库服务器(mysql),求相助

iptables开启后不能连接到数据库服务器(mysql),求帮助
我关闭iptables网站没事,当我配置iptables,开启iptables后,发现不能连接到数据库。iptables配置如下:
iptables开启后不能连接到数据库服务器(mysql),求相助
------解决方案--------------------
is it the iptables rules on your web server or database server?

You do know you have accept all from 0.0.0.0 to 0.0.0.0 on all chains but the default action is drop?