From 2b1564efd23d3ee91de18876eb460c59df5d0b68 Mon Sep 17 00:00:00 2001 From: Malcolm <33982485+Malcolmli@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:31:20 +0800 Subject: [PATCH] =?UTF-8?q?docker-startup.sh=E7=9A=84mysql=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=A4=9A=E4=B8=AA=E2=80=9C-=E2=80=9D=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20(#840)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hippo4j-server/hippo4j-bootstrap/docker-startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-server/hippo4j-bootstrap/docker-startup.sh b/hippo4j-server/hippo4j-bootstrap/docker-startup.sh index 3a562b13..8b03f1e6 100644 --- a/hippo4j-server/hippo4j-bootstrap/docker-startup.sh +++ b/hippo4j-server/hippo4j-bootstrap/docker-startup.sh @@ -20,7 +20,7 @@ JAVA_OPT="${JAVA_OPT} --server.tomcat.basedir=${BASE_DIR}/bin" if [[ "${DATASOURCE_MODE}" == "mysql" ]]; then JAVA_OPT="${JAVA_OPT} --spring.datasource.url=\"jdbc:mysql://${DATASOURCE_HOST}:${DATASOURCE_PORT}/${DATASOURCE_DB}?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8\" " - JAVA_OPT="${JAVA_OPT} ---spring.datasource.username=${DATASOURCE_USERNAME} --spring.datasource.password=${DATASOURCE_PASSWORD} " + JAVA_OPT="${JAVA_OPT} --spring.datasource.username=${DATASOURCE_USERNAME} --spring.datasource.password=${DATASOURCE_PASSWORD} " elif [[ "${DATASOURCE_MODE}" == "h2" ]]; then JAVA_OPT="${JAVA_OPT} --spring.profiles.active=h2 --spring.datasource.url=jdbc:h2:file:${BASE_DIR}/h2_hippo4j;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MYSQL" else