Explorar o código

:bug: Fixed a bug.Fixed auth jdbc url

lisb %!s(int64=6) %!d(string=hai) anos
pai
achega
3657d82ea2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pigx-config/src/main/resources/config/pigx-auth-dev.yml

+ 1 - 1
pigx-config/src/main/resources/config/pigx-auth-dev.yml

@@ -5,7 +5,7 @@ spring:
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
     password: root
-    url: jdbc:mysql://pigx-mysql:3306/pigxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
+    url: jdbc:mysql://pigx-mysql:3306/pigxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
   freemarker:
     allow-request-override: false
     allow-session-override: false