Choose the appropriate MySQL or Oracle JDBC driver (or connector) for your installation. 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. For Oracle download the ojdbc14.jar file and copy it to $CATALINA_HOME/common/lib.
| Db Version | Driver | URL |
|---|---|---|
| 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 |
| Oracle 10g/Oracle 9i | OJDBC | http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html |
For MySQL 4.1 connection issues have been reported for both the MySQL Connector/J 3.1.10 and 3.1.11 drivers. Choose version 3.1.12 or higher.
Both Oracle 10g AND Oracle 9i users must use the 10g driver; the latest 10g "Release 2" (10.2.x) or higher is recommended.