Mysql drivers can be downloaded from http://www.mysql.com/downloads/api-jdbc-stable.html but please check the MySql page for hints and tips first!

See the above link for download details and a note about using the com.mysql not the org.gjt jdbc class libary.

I put the driver here:         /usr/local/jakarta-tomcat/common/lib 

The file being mysql-connector-java-3.0.9-stable, with a soft link to it from "mysql.jar"

In the jakarta-tomcat/conf/server.xml, you'll need to define a ResourceParams entry with the parameter thus (snippet): {{{ <parameter>

and then in the WEB-INF/web.xml for your webapp, you'll also need an entry thus: {{{ <resource-ref>

here's a working snippet from ~/webapps/jetspeed/WEB-INF/confTorque.properties file: {{{ torque.dsfactory.ourdb.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory

MySqlDrivers (last edited 2009-09-20 23:31:50 by localhost)