mysql remote connection kept failing

iptables, mysql

My connection to a remote server on a local network kept failing. Of course the problem was iptables. The error for MySQL was an error code 113.

iptables -I RH-Firewall-1-INPUT -p tcp –dport 3306 -j ACCEPT
iptables -I RH-Firewall-1-INPUT -p udp –dport 3306 -j ACCEPT