aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-26 18:58:30 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-26 18:58:30 +1200
commitf5af779ccd3e61570df72a487cbf01dbe50b0c3f (patch)
tree06d2ac71aa4513442f1a7af0f0abfc501e1f40d4
parente8ad88fba934e3ff6477531f7f34b5dd3b0737b1 (diff)
downloadtrackermap-server-3.17.tar.gz
trackermap-server-3.17.tar.bz2
trackermap-server-3.17.zip
Fix Liquibase driver issuev3.17
-rw-r--r--pom.xml2
-rw-r--r--src/org/traccar/database/DataManager.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index b7b5eb8ec..bf54a8e9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
- <version>5.1.45</version> <!-- Version 6 required Java 8 + issue in 46 -->
+ <version>5.1.46</version> <!-- Version 6 required Java 8 -->
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 3c26685bd..ae5ec2d5f 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -295,7 +295,8 @@ public class DataManager {
config.getString("database.url"),
config.getString("database.user"),
config.getString("database.password"),
- null, resourceAccessor);
+ config.getString("database.driver"),
+ null, null, null, resourceAccessor);
Liquibase liquibase = new Liquibase(
config.getString("database.changelog"), resourceAccessor, database);