MySQL Connector/J 6.0 Developer Guide

Pre-General Availability Draft: 2018-06-26

Chapter 4 Connector/J Installation

MySQL Connector/J is distributed as a .zip or .tar.gz archive, available for download from the Connector/J Download page. The archive contains the sources and the JAR archive named mysql-connector-java-version-bin.jar.

You can install the Connector/J package using either the binary or source distribution. The binary distribution provides the easiest method for installation; the source distribution lets you customize your installation further. With either solution, you manually add the Connector/J location to your Java CLASSPATH.

If you are upgrading from a previous version, read the upgrade information in Section 4.3, “Upgrading from an Older Version” before continuing.

Connector/J is also available as part of the Maven project. For more information and to download the Connector/J JAR files, see the Maven repository.