There are currently two MySQL Connector/J versions available:
Connector/J 8.0 (formerly Connector/J 6.0; see Changes in MySQL Connector/J 8.0.7 for an explanation of the version number change) is a Type 4 pure Java JDBC 4.2 driver for the Java 8 platform. It provides compatibility with all the functionality of MySQL 5.5, 5.6, 5.7, and 8.0. Connector/J 8.0 provides ease of development features, including auto-registration with the Driver Manager, standardized validity checks, categorized SQLExceptions, support for large update counts, support for local and offset date-time variants from the
java.timepackage, support for JDBC-4.x XML processing, support for per connection client information, and support for the
Connector/J 5.1 is also a Type 4 pure Java JDBC driver that conforms to the JDBC 3.0, 4.0, 4.1, and 4.2 specifications. It provides compatibility with all the functionality of MySQL 5.5, 5.6, 5.7, and 8.0. Connector/J 5.1 is covered by its own manual.
The following table summarizes the Connector/J versions available, along with the details of JDBC driver type, versions of the JDBC API supported, versions of MySQL Server supported, JRE supported, JDK required for building, and the support status for each of the Connector/J versions:
Table 2.1 Summary of Connector/J Versions
|Connector/J version||JDBC version||MySQL Server version||JRE Supported||JDK Required for Compilation||Status|
|8.0||4.2||5.5, 5.6, 5.7, 8.0||1.8.x||1.8.x||General Availability|
|5.1||3.0, 4.0, 4.1, 4.2||5.5, 5.6*, 5.7*, 8.0*||1.5.x, 1.6.x, 1.7.x, 1.8.x*||1.5.x and 1.8.x||General Availability|
* JRE 1.8.x is required for Connector/J 5.1 to connect to MySQL 5.6, 5.7, and 8.0 with SSL/TLS when using some cipher suites.