Choose the appropriate MySQL or Oracle JDBC driver (or connector) for your installation.
MySQL Connector/J Driver
For MySQL, download the *zip/*tar.gz archive, extract its contents and copy the mysql-connector-java-<version>-bin.jar to $CATALINA_HOME/common/lib.
| Db Version | Connector/J |
|---|---|
| MySQL 5.0.x | MySQL Connector/J 5.0.4+ http://dev.mysql.com/downloads/connector/j/5.0.html |
| MySQL 4.1.12+ | MySQL Connector/J 3.1.12+ http://dev.mysql.com/downloads/connector/j/3.1.html |
For MySQL 4.1 users problems have been reported for both the MySQL Connector/J 3.1.10 and 3.1.11 drivers. Choose version 3.1.12 or higher.
Oracle OJDBC Driver
For Oracle download the ojdbc14.jar file and copy it to $CATALINA_HOME/common/lib.
| Db Version | JDBC Driver |
|---|---|
| Oracle 10g/Oracle 9i | http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html |
Both Oracle 10g AND Oracle 9i users must use the 10g driver; the latest 10g "Release 2" (10.2.x) or higher is recommended.