I'm having a similar issue on ubuntu 6.10, the ispconfig can't connect to mysql....
root@ubuntu:/var/log# ping -c2 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
root@ubuntu:/var/log# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 9750/mysqld
root@ubuntu:/var/log# cat /etc/hosts
127.0.0.1 ubuntu ubuntu.server.com localhost.localdomain
root@ubuntu:/var/log# mysql -uroot -hlocalhost -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 5.0.24a-Debian_9ubuntu0.1
Is this a ipchains firewall issue? What exactly in ipchains needed to be fixed, and where is the config file for that? sorry, I've never used them before