aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-19 15:28:06 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-19 15:28:06 -0700
commit48dae92ed4cda1acdb76f0a9250f545f3bca977a (patch)
treee665afe13184ce58b0498ff08216ad679dfccd52
parent6f55411b41d06eed327c4349ed2a4d104443d7b8 (diff)
downloadtrackermap-server-48dae92ed4cda1acdb76f0a9250f545f3bca977a.tar.gz
trackermap-server-48dae92ed4cda1acdb76f0a9250f545f3bca977a.tar.bz2
trackermap-server-48dae92ed4cda1acdb76f0a9250f545f3bca977a.zip
Update MySQL URL
-rw-r--r--setup/cloud-init.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/cloud-init.yaml b/setup/cloud-init.yaml
index 4ca2e3ed2..1246fb1b7 100644
--- a/setup/cloud-init.yaml
+++ b/setup/cloud-init.yaml
@@ -9,7 +9,7 @@ write_files:
<entry key="config.default">./conf/default.xml</entry>
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
- <entry key='database.url'>jdbc:mysql://localhost/traccar?serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
+ <entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
<entry key='database.user'>root</entry>
<entry key='database.password'>root</entry>