From 940f5fde831397cc9e81bcde1fbf77bd188ccc01 Mon Sep 17 00:00:00 2001 From: SbloodyS <460888207@qq.com> Date: Fri, 20 Sep 2024 16:24:18 +0800 Subject: [PATCH] improvement 16635 --- .github/workflows/schema-check/mysql/running-test.sh | 2 +- .github/workflows/schema-check/postgresql/running-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/schema-check/mysql/running-test.sh b/.github/workflows/schema-check/mysql/running-test.sh index a116cc9ffb4a..cc0197b9f049 100644 --- a/.github/workflows/schema-check/mysql/running-test.sh +++ b/.github/workflows/schema-check/mysql/running-test.sh @@ -35,7 +35,7 @@ docker run -v "./ds_schema_check_test/mysql-connector-java-8.0.16.jar:/opt/dolph export SPRING_DATASOURCE_DRIVER_CLASS_NAME="com.mysql.cj.jdbc.Driver"; \ export SPRING_DATASOURCE_USERNAME="root"; \ export SPRING_DATASOURCE_PASSWORD="mysql"; \ -export SPRING_DATASOURCE_URL="jdbc:mysql://mysql:3306/dolphinscheduler_${DATABASE_VERSION}?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false"; \ +export SPRING_DATASOURCE_URL='jdbc:mysql://mysql:3306/dolphinscheduler_${DATABASE_VERSION}?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false'; \ bash tools/bin/upgrade-schema.sh' export SPRING_DATASOURCE_URL="jdbc:mysql://127.0.0.1:3306/dolphinscheduler_${DATABASE_VERSION}?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false" bash ds_schema_check_test/dev/tools/bin/upgrade-schema.sh diff --git a/.github/workflows/schema-check/postgresql/running-test.sh b/.github/workflows/schema-check/postgresql/running-test.sh index ee0d62efcd65..889097f3feed 100644 --- a/.github/workflows/schema-check/postgresql/running-test.sh +++ b/.github/workflows/schema-check/postgresql/running-test.sh @@ -34,7 +34,7 @@ docker run --network schema-test apache/dolphinscheduler-tools:${DS_VERSION} -c export SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver"; \ export SPRING_DATASOURCE_USERNAME="postgres"; \ export SPRING_DATASOURCE_PASSWORD="postgres"; \ -SPRING_DATASOURCE_URL="jdbc:postgresql://postgres:5432/dolphinscheduler_${DATABASE_VERSION}"; \ +export SPRING_DATASOURCE_URL='jdbc:postgresql://postgres:5432/dolphinscheduler_${DATABASE_VERSION}'; \ bash tools/bin/upgrade-schema.sh' export SPRING_DATASOURCE_URL="jdbc:postgresql://127.0.0.1:5432/dolphinscheduler_${DATABASE_VERSION}" bash ds_schema_check_test/dev/tools/bin/upgrade-schema.sh