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/
For java 8 or more : (maintenance branch for java 7 is 1.x)
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.7.2</version>
</dependency>
New version 3.0 is a complete rewrite with code simplification, reduced size (15%), more than 90% coverage tested, with performance gain. But still in alpha for now:
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.0.0-alpha</version>
</dependency>
For a Getting started guide, API docs, recipes, etc. see the