MySQL JDBC Driver

Applies to ReadyAPI 3.56, last modified on November 21, 2024

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 on the toolbar.

  2. Open the JDBC Drivers settings.

  3. Click .

  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

    Click the image to enlarge it.

  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

    Click the image to enlarge it.

See Also

Installing Database Drivers

Highlight search results