MySQL Connector/J is the official JDBC driver for MySQL. Online documentation
for Connector/J can be found from here.
Connector/J 5.1 includes support for JDBC-4.0 functionality, including:
Ease-of-development features including auto-registration with the
DriverManager via the service provider mechanism, standardized Connection
validity checks and categorized SQLExceptions based on recoverability/retry-ability and class of the underlying error.
Unwrapping to interfaces that include vendor extensions
Support for XML processing via JAXP interfaces to DOM, SAX and StAX
Support for setting per-connection client information (which can be viewed
in the comments section of a query via "SHOW PROCESSLIST" on a MySQL server,
or can be extended to support custom persistence of the information via a
public interface)
Support for JDBC-4.0 NCHAR, NVARCHAR and NCLOB types
NOTE: By downloading the software from this page, you acknowledge
that the software available from here is licensed under the GPL. We advise
that you review the GPL
before downloading.
MySQL Connector/J is the
official JDBC driver for MySQL. On this page are downloads of the current generally available (GA) release
version. Online documentation for Connector/J can be found from here.