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


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

Obtaining the driver

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 :


Development snapshot are available on sonatype nexus repository

        <name>Sonatype Nexus Snapshots</name>



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


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