mysql That's strange, that you can connect to sql from the command line, but tomcat can't find it.
What do you get from:
su - zimbra
mysqladmin status
Also
host localhost
What's in your /etc/hosts file?
Are you running a firewall?
Does
telnet localhost 7306
connect? |