Table of Contents
- 3.1 Installing Connector/J from a Binary Distribution
- 3.2 Installing the Driver and Configuring the
- 3.3 Upgrading from an Older Version
- 3.4 Installing from Source
- 3.5 Testing Connector/J
MySQL Connector/J is distributed as a
.tar.gz archive, available for download from
Download page. The archive contains the sources and the
JAR archive named
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
If you are upgrading from a previous version, read the upgrade information in Section 3.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 also need to install the Simple Logging Facade API to use
the logging capabilities provided by the default implementation
Connector/J. That and other third-party libraries are required
Connector/J from source (see the section for more
information on the required libraries).