Official JDBC driver for MySQL, implementing JDBC 4.2 and MySQL X DevAPI for Java applications.
MySQL Connector/J is the official JDBC driver for MySQL databases that enables Java applications to connect to MySQL servers. It implements the JDBC 4.2 specification as a pure Java Type 4 driver and also provides MySQL X DevAPI support for NoSQL document store operations. The driver solves the problem of database connectivity between Java applications and MySQL databases while supporting both traditional relational and modern document-based data models.
Java developers building applications that need to connect to MySQL databases, including those working with both relational data and document store features. Database administrators and DevOps engineers who deploy and maintain Java applications with MySQL backends.
Developers choose MySQL Connector/J because it's the official, maintained driver from MySQL with full JDBC compliance and additional MySQL-specific features like X DevAPI. It offers reliable performance, comprehensive documentation, and seamless integration with MySQL's evolving capabilities including document store support.
MySQL Connector/J
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements the latest JDBC specification as a pure Java Type 4 driver, requiring no native MySQL client libraries, ensuring standards-compliant connectivity.
Includes MySQL X DevAPI for document store operations, enabling CRUD-based NoSQL interactions alongside traditional relational queries, as highlighted in the README.
Runs on any operating system with a Java Virtual Machine, providing broad flexibility for diverse deployment environments without OS constraints.
Supports OpenTelemetry for native instrumentation, allowing detailed monitoring and tracing of database operations, a feature emphasized in the README.
Requires third-party libraries like Protocol Buffers for X DevAPI and OCI SDK for authentication, complicating setup and increasing bloat if these features are unused.
Heavy reliance on MySQL extensions like X DevAPI may hinder portability to other database systems, limiting flexibility for multi-database strategies.
Users must manually exclude dependencies like protobuf-java in Maven to avoid unnecessary libraries, adding complexity to build configuration, as noted in the README.