Documentation Home
MySQL Connector/J 8.0 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 471.7Kb
PDF (A4) - 473.9Kb
HTML Download (TGZ) - 114.2Kb
HTML Download (Zip) - 132.0Kb

MySQL Connector/J 8.0 Developer Guide  /  Connector/J Installation

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.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.


You may also need to install the following third-party libraries on your system for Connector/J 8.0 to work:

  • Protocol Buffers (required for using X DevAPI and for building Connector/J 8.0 from source)

  • Javassist (only required for building Connector/J 8.0 from source)