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.0.0/version-upgrade
Eric Gao 2 years ago committed by caishunfeng
parent
commit
71ffd4e989
  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
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`

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

Loading…
Cancel
Save