Obtaining a MySQL Driver

InstallAnywhere 2020

The MySQL database support in InstallAnywhere requires a JDBC driver for connecting to MySQL database servers. Because of licensing restrictions, InstallAnywhere does not provide the drivers for MySQL. Therefore, if you want to configure your projects to manage MySQL databases, you must obtain the appropriate drivers and add them to your projects.

To download a MySQL driver and make it available for inclusion in InstallAnywhere projects:

1. Download the MySQL Connector/J library (mysql-connector-java-5.0.6-bin.jar) from the following site:

http://www.mysql.com/products/connector-j

2. Extract mysql-connector-java-5.0.6-bin.jar from the MySQL Connector/J archive (mysql-connector-java-5.0.6.zip).
3. Copy mysql-connector-java-5.0.6-bin.jar to the following directory:

<InstallAnywhere>/resource/db/drivers/ConnectorJ/

When you add a MySQL database server host to your project, verify that the location that is shown for the mysql-connector-java-5.0.6-bin.jar dependency in the Database Server customizer at the bottom of the Hosts view is correct. To find out more, click the More on drivers link in the Database Server customizer.

See Also