Paul wrote:
java.sql.SQLException: Cannot connect to MySQL server on localhost:3306.
...
What I have: Mandriva Linux 10.2 MySQL 4.1.11 Tomcat 5.0.28 (also tried 4.1.31) Sun JDK 1.4.2_05
I presume your MySQL instance really /is/ running on localhost... in which case, check on the config of 'msec' - a sort of persoanl firewall annoyance that Mandriva insists on installing without telling you - might have firewalled Tomcat off from MySQL :-(
tried connecting with localhost, 127.0.0.1 and 192.168.0.2 (my wireless
Which ones worked from eclipse/telnet but didn't work from Tomcat? (Guessing that maybe connects via 127.0.0.1 are getting through, but not connects via 192.x.y.z due to abovementioned firewall.)
-- mike morris :: mike.morris (at) cocosoft . co . za cOcO technologies :: www . coco-technologies . co . za http://mikro2nd.blogspot.com/ http://www.openseed.org/farm/ ----- A day without chillies is a day wasted ------
