The answer depends on how the MySQL connection is made and where.
Tomcat doesn't offer just one way to handle this or just one place to
configure it. The MySQL connection string can be in server.xml or the
web application itself.
You might want to do a search to see where www.old-domain.com
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
Thanks to all of you !
I did a search (grep -R) under the /usr/local/jakarta and /etc folder for
this string but found no results. I am still wondering as which file carries
this value.
Thanks again,
DK
--
View this message in context:
http://www.nabble.com/Tomcat-and-MySQL-error-tf2007556
try the base of usr/local
-Original Message-
From: DK [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 12:48 PM
To: users@tomcat.apache.org
Subject: RE: Tomcat and MySQL error
Thanks to all of you !
I did a search (grep -R) under the /usr/local/jakarta and /etc folder
and Thanks again to all of you !!
DK
--
View this message in context:
http://www.nabble.com/Tomcat-and-MySQL-error-tf2007556.html#a5529626
Sent from the Tomcat - User forum at Nabble.com.
-
To start a new topic, e-mail: users
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
I'm not sure if you asked the question at the right place.
Anyways, I think there would be some configuration file / code snippet
which uses the
www.old-domain.com:3306 while forming the connection URL, which is
passed to the
getConnection(url, username, pass) method.
Hope it helps,
Madhur.