Installing JDBC database drivers

1 minute read

CloudBees does not distribute the JDBC drivers for MySQL or Oracle databases. If you want to use one of these databases, you must download its driver directly from the vendor’s website, copy it to the appropriate directory on the Cluster Manager server, and restart the Cluster Manager service.

Installing the JDBC driver for MySQL databases

To install the JDBC driver for MySQL databases, complete the following steps.

  1. Download the latest version of Connector/J for your platform from https://dev.mysql.com/downloads/connector/j/ and install it.

  2. Locate the mysql-connector-java-<version>-bin.jar file among the files that were installed.

    For example, on Windows: C:\Program Files (x86)\MySQL\MySQL Connector J\mysql-connector-java-5.1.30-bin.jar.

  3. Rename the file to mysql-connector.jar.

  4. Copy the file to <ECloud install>/<arch>/lib/.

    • On Linux, the default location is /opt/ecloud/i686_Linux/lib/.

    • On Windows, the default location is C:\ECloud\i686_win32\lib\.

  5. Restart the Cluster Manager service.

Installing the JDBC driver for Oracle databases

To install the JDBC driver for Oracle databases, complete the following steps.

  1. Download the appropriate ojdbc6.jar JDBC driver file for your database version from https://www.oracle.com/database/technologies/jdbcdriver-ucp-downloads.html.

  2. Copy the ojdbc6.jar file to <ECloud install>/<arch>/lib/.

    • On Linux, the default location is /opt/ecloud/i686_Linux/lib/.

    • On Windows, the default location is C:\ECloud\i686_win32\lib\.

  3. Restart the Cluster Manager service.