MySQL JDBC Type 4 driver



MySQL Connector/J

MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the Java Database Connectivity (JDBC) API.

MySQL Connector/J 5.1 is a JDBC Type 4 driver that is compatible with the JDBC 3.0, JDBC 4.0, JDBC 4.1 and JDBC 4.2 specifications. The Type 4 designation means that the driver is a pure Java implementation of the MySQL protocol and does not rely on the MySQL client libraries.

For detailed information please visit the official MySQL Connector/J documentation.


Please refer to files README and COPYING, available in this repository, and Legal Notices in documentation for further details.

Download & Install

MySQL Connector/J can be installed from pre-compiled packages that can be downloaded from the MySQL downloads page. Installing Connector/J only requires extracting the corresponding Jar file from the downloaded bundle and place it somewhere in the application's CLASSPATH.

Alternatively you can setup Maven's dependency management directly in your project and let it download it for you.

Building from sources

This driver can also be complied and installed from the sources available in this repository. Please refer to the documentation for detailed instructions on how to do it.

GitHub Repository

This repository contains the MySQL Connector/J source code as per latest released version. You should expect to see the same contents here and within the latest released Connector/J package, except for the pre-compiled Jar.

Additional resources