MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. MariaDB Connector/J is LGPL licensed.
Latest commit b0aa522 Oct 27, 2018

README.md

MariaDB java connector

MariaDB java connector is a JDBC 4.2 compatible driver, used to connect applications developed in Java to MariaDB and MySQL databases. MariaDB Connector/J is LGPL licensed.

Tracker link https://jira.mariadb.org/projects/CONJ/issues/

Status

Linux Build Windows Build Maven Central License (LGPL version 2.1) Known Vulnerabilities Codacy Badge

Obtaining the driver

Java version current version
6 1.7.4
7 1.7.4
8+ 2.3.0

The driver (jar) can be downloaded from mariadb connector download or maven :

<dependency>
	<groupId>org.mariadb.jdbc</groupId>
	<artifactId>mariadb-java-client</artifactId>
	<version>2.3.0</version>
</dependency>

Development snapshot are available on sonatype nexus repository

<repositories>
    <repository>
        <id>sonatype-nexus-snapshots</id>
        <name>Sonatype Nexus Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>org.mariadb.jdbc</groupId>
        <artifactId>mariadb-java-client</artifactId>
        <version>2.3.1-SNAPSHOT</version>
    </dependency>
</dependencies>

Documentation

For a Getting started guide, API docs, recipes, etc. see the

Contributing

To get started with a development installation and learn more about contributing, please follow the instructions at our Developers Guide.