Add support for MariaDB

Add support for MariaDB using MariaDB connector [1].

[1] https://github.com/MariaDB/mariadb-connector-j

Change-Id: I72496f93eb15e24093c8b9d9cda0b225342faa13
This commit is contained in:
Paladox none
2017-01-26 21:01:15 +00:00
committed by David Ostrovsky
parent 0129f08967
commit fd9f2e1109
11 changed files with 117 additions and 0 deletions

View File

@@ -49,6 +49,10 @@
<Set name="driverClassName">com.mysql.jdbc.Driver</Set>
<Set name="url">jdbc:mysql://localhost/reviewdb?user=gerrit2&amp;password=secretkey</Set>
-->
<!-- MariaDB
<Set name="driverClassName">org.mariadb.jdbc.Driver</Set>
<Set name="url">jdbc:mariadb://localhost/reviewdb?user=gerrit2&amp;password=secretkey</Set>
-->
<!-- H2
<Set name="driverClassName">org.h2.Driver</Set>
<Set name="url">jdbc:h2:file:ReviewDb</Set>