At 14:23 -0700 5/13/03, Mark Liu wrote:
>You guys must have seen such questions for many times.
> I understand if you feel bored to see it again.
>I am trying to access MySQL from my a servlet.
>I am using Tomcat as my Web server on a Sun work
>If I install tomcat at /usr/apache/tomcat4.1.24, the
>servlet can successfully connects to MySQL.
>I have another tomcat installed at
>/export/home/tomcat4.1.24, if I run this tomcat, the
>same servlet just cannot connects to MySQL, why?
Maybe you didn't install the MySQL JDBC driver for
the second Tomcat?
What kind of error do you get? Complete failure to even
try to connect? Access denied? Something else?
>I have no clue.
>Please help. Thanks.