From 1387fb3ccf8da6299ad38a3e680a9788fe13490f Mon Sep 17 00:00:00 2001 From: Eric Gao Date: Sat, 9 Jul 2022 14:53:05 +0800 Subject: [PATCH] [Doc][Upgrade] Fix tiny error in upgrade docs (#10847) * [Doc][Upgrade] Fix tiny error in upgrade docs (#10846) * [Doc][Upgrade] Add useSSL=false and fix typo in upgrade docs (#10846) --- docs/docs/en/guide/upgrade.md | 4 ++-- docs/docs/zh/guide/upgrade.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/en/guide/upgrade.md b/docs/docs/en/guide/upgrade.md index 5e4c7d5812..af44a7483c 100644 --- a/docs/docs/en/guide/upgrade.md +++ b/docs/docs/en/guide/upgrade.md @@ -27,13 +27,13 @@ jar package and add it to the `./tools/libs` directory, then change `./bin/ env/ ```shell export DATABASE=${DATABASE:-mysql} export SPRING_PROFILES_ACTIVE=${DATABASE} - export SPRING_DATASOURCE_URL=jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 + export SPRING_DATASOURCE_URL="jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&useSSL=false" export SPRING_DATASOURCE_USERNAME={user} export SPRING_DATASOURCE_PASSWORD={password} ``` Execute database upgrade script: `sh ./tools/bin/upgrade-schema.sh` -K + ### Upgrade Service #### Change Configuration `bin/env/install_config.conf` diff --git a/docs/docs/zh/guide/upgrade.md b/docs/docs/zh/guide/upgrade.md index a9eb3e2188..a8483cce69 100644 --- a/docs/docs/zh/guide/upgrade.md +++ b/docs/docs/zh/guide/upgrade.md @@ -26,7 +26,7 @@ jar 包 并添加到 `./tools/libs` 目录下,修改 `./bin/env/dolphinschedul ```shell export DATABASE=${DATABASE:-mysql} export SPRING_PROFILES_ACTIVE=${DATABASE} - export SPRING_DATASOURCE_URL=jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 + export SPRING_DATASOURCE_URL="jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&useSSL=false" export SPRING_DATASOURCE_USERNAME={user} export SPRING_DATASOURCE_PASSWORD={password} ```