aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-06-06 09:11:00 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-06-06 09:11:00 -0300
commitd1f602835eff3df33261ce16620c51fb291c0763 (patch)
tree68cd189d91f5795ccd7c03669764516f4a513e3c /setup
parent9c4f58c2bac0b2cad025f3ac3e79e88511a0b857 (diff)
downloadtrackermap-server-d1f602835eff3df33261ce16620c51fb291c0763.tar.gz
trackermap-server-d1f602835eff3df33261ce16620c51fb291c0763.tar.bz2
trackermap-server-d1f602835eff3df33261ce16620c51fb291c0763.zip
- Fix hikari connection check sql.
Diffstat (limited to 'setup')
-rw-r--r--setup/unix/traccar.xml4
-rw-r--r--setup/windows/traccar.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml
index a0233e601..bf2c5ef70 100644
--- a/setup/unix/traccar.xml
+++ b/setup/unix/traccar.xml
@@ -32,6 +32,10 @@
<entry key='database.password'></entry>
<entry key='database.changelog'>/opt/traccar/data/changelog-master.xml</entry>
+
+ <entry key='database.checkConnection'>
+ SELECT 1;
+ </entry>
<entry key='database.selectServers'>
SELECT * FROM server;
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml
index 5748f3993..d43e7373a 100644
--- a/setup/windows/traccar.xml
+++ b/setup/windows/traccar.xml
@@ -33,6 +33,10 @@
<entry key='database.changelog'>[CHANGELOG]</entry>
+ <entry key='database.checkConnection'>
+ SELECT 1;
+ </entry>
+
<entry key='database.selectServers'>
SELECT * FROM server;
</entry>