It might also be ipchains, and not iptables. Not sure though which one is by default on Mandrake.
You should read an IPCHAINS-HOWTO on
www.linuxdocs.org, it's very easy and fast to learn.
Also can you access your webserver right now? or you just can't get your mysql server?