Browse Source

[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)
3.1.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
1387fb3ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/docs/en/guide/upgrade.md
  2. 2
      docs/docs/zh/guide/upgrade.md

4
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 ```shell
export DATABASE=${DATABASE:-mysql} export DATABASE=${DATABASE:-mysql}
export SPRING_PROFILES_ACTIVE=${DATABASE} 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_USERNAME={user}
export SPRING_DATASOURCE_PASSWORD={password} export SPRING_DATASOURCE_PASSWORD={password}
``` ```
Execute database upgrade script: `sh ./tools/bin/upgrade-schema.sh` Execute database upgrade script: `sh ./tools/bin/upgrade-schema.sh`
K
### Upgrade Service ### Upgrade Service
#### Change Configuration `bin/env/install_config.conf` #### Change Configuration `bin/env/install_config.conf`

2
docs/docs/zh/guide/upgrade.md

@ -26,7 +26,7 @@ jar 包 并添加到 `./tools/libs` 目录下,修改 `./bin/env/dolphinschedul
```shell ```shell
export DATABASE=${DATABASE:-mysql} export DATABASE=${DATABASE:-mysql}
export SPRING_PROFILES_ACTIVE=${DATABASE} 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_USERNAME={user}
export SPRING_DATASOURCE_PASSWORD={password} export SPRING_DATASOURCE_PASSWORD={password}
``` ```

Loading…
Cancel
Save