From 85bdddafcd37647b6aa0094fb3cf620012950531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Sat, 4 May 2019 12:09:32 +0800 Subject: [PATCH] =?UTF-8?q?:checkered=5Fflag:=20Fixing=20something=20on=20?= =?UTF-8?q?Windows=20JDBC=E6=95=B0=E6=8D=AE=E5=BA=93=E6=97=B6=E5=8C=BA?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pigx-register/src/main/resources/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pigx-register/src/main/resources/bootstrap.yml b/pigx-register/src/main/resources/bootstrap.yml index c5c269565..b90987a0b 100755 --- a/pigx-register/src/main/resources/bootstrap.yml +++ b/pigx-register/src/main/resources/bootstrap.yml @@ -11,7 +11,7 @@ db: user: root password: root url: - 0: jdbc:mysql://pigx-mysql:3306/pigxx_config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true + 0: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:pigxx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true spring: datasource: