Documentation Home
MySQL Connector/J 5.1 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 501.4Kb
PDF (A4) - 500.9Kb
HTML Download (TGZ) - 120.8Kb
HTML Download (Zip) - 139.0Kb


MySQL Connector/J 5.1 Developer Guide  /  Connector/J Versions

Chapter 2 Connector/J Versions

Two versions of MySQL Connector/J are available:

  • Connector/J 5.1 is a Type 4 pure Java JDBC driver, which conforms to the JDBC 3.0, 4.0, 4.1, and 4.2 specifications. It provides compatibility with all the functionality of MySQL, including 5.5, 5.6, and 5.7. Connector/J 5.1 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.time package, support for JDBC-4.x XML processing, support for per connection client information, and support for the NCHAR, NVARCHAR and NCLOB data types.

  • Connector/J 8.0 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, 8.0. See MySQL Connector/J 8.0 Developer Guide for details.

    Note

    MySQL Connector/J 8.0 is highly recommended for use with MySQL Server 8.0, 5.7, 5.6, and 5.5. Please upgrade to MySQL Connector/J 8.0.

The following table summarizes the Connector/J versions available, along with details like their JDBC driver type, what versions of the JDBC API they support, what versions of MySQL Server they work with, and their current development status:

Table 2.1 Summary of Connector/J Versions

Connector/J version Driver Type JDBC version MySQL Server version Status
5.1 4 3.0, 4.0, 4.1, 4.2 5.5, 5.6*, 5.7*, 8.0* General availability
8.0 4 4.2 5.5, 5.6, 5.7, 8.0 General availability. Recommended version


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

The current recommended version for Connector/J is 5.1. This guide also covers earlier versions of Connector/J, with specific notes given where a setting applies to a specific version.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.