This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 1387fb3ccf [Doc][Upgrade] Fix tiny error in upgrade docs (#10847)
1387fb3ccf is described below

commit 1387fb3ccf8da6299ad38a3e680a9788fe13490f
Author: Eric Gao <[email protected]>
AuthorDate: Sat Jul 9 14:53:05 2022 +0800

    [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}
     ```

Reply via email to