#MYSQL CONNECTOR FOR JAVA DOWNLOAD HOW TO#
Please refer to the Connector/J documentation for detailed instructions on how to do it. This driver can also be complied and installed from the source available in this repository. As a Maven DependencyĪlternatively, Connector/J can be obtained automatically via Maven's dependency management by adding the following configuration in the application's Project Object Model (POM) file:
Installing Connector/J only requires obtaining the corresponding JAR file from the downloaded bundle or installer and including it in the application's CLASSPATH. MySQL Connector/J can be installed from pre-compiled packages that can be downloaded from the Connector/J download page. MySQL Connector/J is free for usage under the terms of the specified licensing and it runs on any operating system that is able to run a Java Virtual Machine. Please refer to the README and LICENSE files, available in this repository, and the Legal Notices in the Connector/J documentation for further details. The driver also contains an implementation of MySQL X DevAPI, an application programming interface for working with MySQL as a Document Store through CRUD-based, NoSQL operations.įor more information, please visit the official MySQL Connector/J documentation. 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. MySQL Connector/J 8.0 is a JDBC Type 4 driver that is compatible with the JDBC 4.2 specification.
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 and also MySQL X DevAPI.