diff --git a/commafeed-server/config.yml.example b/commafeed-server/config.yml.example index e521a939..298c02f7 100644 --- a/commafeed-server/config.yml.example +++ b/commafeed-server/config.yml.example @@ -82,6 +82,10 @@ app: # Database connection # ------------------- +# for MariaDB +# driverClass is org.mariadb.jdbc.Driver +# url is jdbc:mariadb://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true +# # for MySQL # driverClass is com.mysql.cj.jdbc.Driver # url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true diff --git a/commafeed-server/pom.xml b/commafeed-server/pom.xml index 49539783..16feeeee 100644 --- a/commafeed-server/pom.xml +++ b/commafeed-server/pom.xml @@ -444,6 +444,11 @@ mysql-connector-j 8.0.33 + + org.mariadb.jdbc + mariadb-java-client + 3.1.4 + org.postgresql postgresql @@ -494,4 +499,4 @@ - \ No newline at end of file +