View Single Post
  #43 (permalink)  
Old 01-27-2006, 12:30 PM
echristi echristi is offline
Junior Member
 
Posts: 8
Default

Quote:
Originally Posted by marcmac
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

>Uptime: 8536 Threads: 1 Questions: 250 Slow queries: 5 Opens: 33 Flush tables: 1 Open tables: 22 Queries per second avg: 0.029


Also
host localhost

>localhost.mtghouse.com has address 127.0.0.1

What's in your /etc/hosts file?

>127.0.0.1 localhost
>
># special IPv6 addresses
>::1 localhost ipv6-localhost ipv6-loopback
>
>fe00::0 ipv6-localnet
>
>ff00::0 ipv6-mcastprefix
>ff02::1 ipv6-allnodes
>ff02::2 ipv6-allrouters
>ff02::3 ipv6-allhosts
>192.168.1.150 zimbra.mtghouse.com zimbra


Are you running a firewall?

>no

Does
telnet localhost 7306
connect?
>telnet: connect to address 127.0.0.1: Connection refused
>Trying ::1...
>telnet: connect to address ::1: Connection refused
Reply With Quote