Getting and installing JDBC drivers
For MySQL or Oracle databases, the appropriate JDBC driver must be available for the application. If you do not already have the appropriate JDBC driver, it needs to be downloaded from the provider and then placed in the userlib
directory in the installation area of the CLC software.
Details for the MySQL JDBC Driver
- Go to the page http://dev.mysql.com/downloads/connector/j/ to download the driver.
- Please choose the option Platform Independent when selecting a platform.
- After clicking on the buttong to Download, you can login if you already have an Oracle Web account, or you can just click on the link that says
No thanks, just start my download
further down the page. - Uncompress the downloaded file and move the driver file, which will have a name of this form: mysql-connector-java-X.X.XX-bin.jar, to the folder called
userlib
.
Details for the Oracle JDBC Driver
- Go to the page http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html.
- Select the version for your Oracle database version that will work with Java 1.7.
For example, for 11g, the ojdbc6.jar includes classes for use with JDK 1.7.
You will need an Oracle account to download the driver.
- Move the driver jar file to the folder called
userlib
.
Completing the installation
After the JDBC driver is in the userlib
folder, then:
- For a stand-alone Server instance, restart the Server software.
- For a CLC job node setup, the JDBC driver file must be placed in the
userlib
folder in the CLC software installation area on the master node as well as each job node system. The CLC software needs to be restarted after the driver is placed in this folder. - If running a grid setup, the JDBC driver file is placed in the
userlib
folder in the CLC Server software installation area. After the driver file is in place, restart the Server software. This will deploy the changes to the grid workers.