Installing the MySQL JDBC Connector

CloudBees CD does not include the MySQL JDBC connector. If you plan to perform a CloudBees CD server installation that connects to a MySQL database, you must obtain and install the MySQL JDBC connector.

Follow these steps:

  1. Run the installer.

    Make sure that you do not install the built-in database.

  2. After the installation completes, download the MySQL JDBC connector:

    From https://dev.mysql.com/downloads/connector/j/5.1.html select Platform Independent (Architecture Independent),Compressed TAR Archive.

    Oracle may ask you to sign in or to create an account.
  3. Unpack the archive and rename the downloaded connector from mysql-connector-java-5.1.49.jar to mysql-connector-java.jar.

    This is required for the CloudBees CD server to connect to the MySQL database.

  4. Copy mysql-connector-java.jar to the <install_dir>/server/lib directory.

  5. Restart the server.

  6. Open the home page of the Automation Platform web UI by browsing to \https:/<cloudBees-flow-server>/commander/ and logging in.

  7. Go to the Administration > Database Configuration page and configure the server to use a MySQL database.