MySQL JDBC Driver

The MySQL JDBC driver provides connections for MySQL databases.

To install the driver, do the following:

  1. Download the mysql-connector archive.

  2. Extract the archive file.

  3. Copy the mysql-connector-java-5.x.xx\mysql-connector-java-5.x.xx-bin.jar file to the <ReadyAPI installation>/bin/ext.

  4. Restart ReadyAPI to load the driver.

Connection String Template

ReadyAPI has preconfigured connection string for MySQL. If you need a custom one, add it by using the ReadyAPI Preferences menu.

  1. Click preferences.png Preferences on the toolbar.

  2. Open the JDBC Drivers settings.

  3. Click add.png.

  4. Enter a descriptive name, for example: MySql/com.mysql.jdbc.Driver.

    The new connection will appear at the end of the list.

    ReadyAPI: The new connection in the JDBC connections list
  5. Add a connection string template, for example:

    jdbc:mysql://<HOST:127.0.0.1>:<PORT:3306>/<DB>?user=<USER>&password=<PASSWORD>
    ReadyAPI: The new connection with the connection string

See Also

Publication date: