tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nizam Mohideen" <mohid...@hotmail.com>
Subject Re: Using MySQL with Tomcat - Need JDBC Drivers
Date Sat, 09 Sep 2000 01:01:35 GMT
I'm using mm.mysql driver with MySQL. The jar file mysql_comp.jar (or
mysql_uncomp.jar) needs to be on the classpath. You can find this file in
your mm.mysql.jdbc-1.x directory.

To include this file in the classpath you can do 2 things:
1. Copy mysql_uncomp.jar to the WEB-INF/lib directory of your app. Tomcat
will automatically add this to the classpath
2. Modify the tomcat.sh (or startup.sh, I don't remember which one) and add
the jar file location to the classpath

--Nizam
----- Original Message -----
From: <JTaylor700@aol.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, September 08, 2000 5:16 PM
Subject: Using MySQL with Tomcat - Need JDBC Drivers


> What is the recommended JDBC driver to use with Tomcat and MySQL.  Where
> should I define the classpath?  I currently have installed MM.MySQL but am
> having a hard time defining the Classpath and to where the jar file is.
>
> Please help.
>
> Jason
>

Mime
View raw message