somewhere, likely server.xml, you've got an ODBC setting pointing to the IP address or domain name of the old box.
Do a global search -- find file or with contents of your old box IP address/name to find the file(s) that contain said string. -----Original Message----- From: DK [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 11:06 PM To: users@tomcat.apache.org Subject: Tomcat and MySQL error Hello all, I am new to this configuration and working on an exisitng website with MySQL database. There is a change in the domain name / IP address and after the change in IP address I am not able to connect to the database and I get this error when tomcat is started. Caused by: java.sql.SQLException: Cannot connect to MySQL server on www.old-domain.com:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.ConnectException) My MySQL is working fine on port 3306 - I am able to connect to the database from the command prompt I do not know which file I should edit and update with the new IP address / domain name in place of www.old-domain.com, so that tomcat connects to the database with new domain name, when tomcat is started Any help is appreciated ! -- View this message in context: http://www.nabble.com/Tomcat-and-MySQL-error-tf2007556.html#a5514999 Sent from the Tomcat - User forum at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]