This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a7ec22b Automated deployment: 23a8be2a2969af64fa1c782ff6043443a0c1a170
a7ec22b is described below
commit a7ec22b07b20ca714061d9fbc3d931dd06ff1919
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 17 06:05:03 2021 +0000
Automated deployment: 23a8be2a2969af64fa1c782ff6043443a0c1a170
---
.../guide/installation/pseudo-cluster.html | 10 +--------
.../guide/installation/pseudo-cluster.json | 2 +-
en-us/docs/2.0.1/user_doc/upgrade.html | 21 +++++++++---------
en-us/docs/2.0.1/user_doc/upgrade.json | 2 +-
.../guide/installation/pseudo-cluster.html | 10 +--------
.../guide/installation/pseudo-cluster.json | 2 +-
en-us/docs/latest/user_doc/upgrade.html | 21 +++++++++---------
en-us/docs/latest/user_doc/upgrade.json | 2 +-
zh-cn/docs/2.0.1/user_doc/upgrade.html | 25 +++++++++++-----------
zh-cn/docs/2.0.1/user_doc/upgrade.json | 2 +-
zh-cn/docs/latest/user_doc/upgrade.html | 25 +++++++++++-----------
zh-cn/docs/latest/user_doc/upgrade.json | 2 +-
12 files changed, 54 insertions(+), 70 deletions(-)
diff --git a/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html
b/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html
index a11b674..4cb20fb 100644
--- a/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html
+++ b/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html
@@ -129,15 +129,7 @@ javaHome="/your/java/home/here"
#</span><span class="bash">
---------------------------------------------------------</span>
<span class="hljs-meta">#</span><span class="bash"> Database</span>
<span class="hljs-meta">#</span><span class="bash">
---------------------------------------------------------</span>
-<span class="hljs-meta">#</span><span class="bash"> Database <span
class="hljs-built_in">type</span>, username, password, IP, port, metadata. For
now dbtype supports `mysql` and `postgresql`</span>
-dbtype="mysql"
-dbhost="localhost:3306"
-<span class="hljs-meta">#</span><span class="bash"> Have to modify <span
class="hljs-keyword">if</span> you are not using
dolphinscheduler/dolphinscheduler as your username and password</span>
-username="dolphinscheduler"
-password="dolphinscheduler"
-dbname="dolphinscheduler"
-<span class="hljs-meta">
-#</span><span class="bash"> Database <span class="hljs-built_in">type</span>,
username, password, IP, port, metadata. For now dbtype supports `mysql` and
`postgresql`, `H2`</span>
+<span class="hljs-meta">#</span><span class="bash"> Database <span
class="hljs-built_in">type</span>, username, password, IP, port, metadata. For
now dbtype supports `mysql` and `postgresql`, `H2`</span>
<span class="hljs-meta">#</span><span class="bash"> Please make sure that the
value of configuration is quoted <span class="hljs-keyword">in</span> double
quotation marks, otherwise may not take effect</span>
DATABASE_TYPE="mysql"
SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
diff --git a/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.json
b/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.json
index b25d56c..b1bc18e 100644
--- a/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.json
+++ b/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.json
@@ -1,6 +1,6 @@
{
"filename": "pseudo-cluster.md",
- "__html": "<h1>Pseudo-Cluster Deployment</h1>\n<p>The purpose of
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, api server, and
logger server are all on the same machine.</p>\n<p>If you are a green hand and
want to experience DolphinScheduler, we recommended you install follow <a
href=\"standalone.md\">Standalone</a>. If you want to experience more complete
functions or schedule large tasks numbe [...]
+ "__html": "<h1>Pseudo-Cluster Deployment</h1>\n<p>The purpose of
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, api server, and
logger server are all on the same machine.</p>\n<p>If you are a green hand and
want to experience DolphinScheduler, we recommended you install follow <a
href=\"standalone.md\">Standalone</a>. If you want to experience more complete
functions or schedule large tasks numbe [...]
"link":
"/dist/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/2.0.1/user_doc/upgrade.html
b/en-us/docs/2.0.1/user_doc/upgrade.html
index 7e7b615..66d457d 100644
--- a/en-us/docs/2.0.1/user_doc/upgrade.html
+++ b/en-us/docs/2.0.1/user_doc/upgrade.html
@@ -22,20 +22,21 @@
<h2>4. Database Upgrade</h2>
<ul>
<li>
-<p>Modify the following properties in conf/datasource.properties.</p>
+<p>Modify the following properties in
<code>conf/config/install_config.conf</code>.</p>
</li>
<li>
<p>If you use MySQL as the database to run DolphinScheduler, please comment
out PostgreSQL related configurations, and add mysql connector jar into lib
dir, here we download mysql-connector-java-8.0.16.jar, and then correctly
config database connect information. You can download mysql connector jar <a
href="https://downloads.MySQL.com/archives/c-j/">here</a>. Alternatively, if
you use Postgres as database, you just need to comment out Mysql related
configurations, and correctly config da [...]
-<pre><code class="language-properties"><span class="hljs-comment"> #
postgre</span>
-<span class="hljs-comment">
#spring.datasource.driver-class-name=org.postgresql.Driver</span>
-<span class="hljs-comment">
#spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler</span>
-<span class="hljs-comment"> # mysql</span>
- <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span
class="hljs-string">com.mysql.jdbc.Driver</span>
- <span class="hljs-meta">spring.datasource.url</span>=<span
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true</span>
- <span class="hljs-meta">spring.datasource.username</span>=<span
class="hljs-string">xxx</span>
- <span class="hljs-meta">spring.datasource.password</span>=<span
class="hljs-string">xxx</span>
-</code></pre>
</li>
+</ul>
+<pre><code class="language-conf"># Database type, username, password, IP,
port, metadata. For now dbtype supports `mysql` and `postgresql`, `H2`
+# Please make sure that the value of configuration is quoted in double
quotation marks, otherwise may not take effect
+DATABASE_TYPE="mysql"
+SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
+# Have to modify if you are not using dolphinscheduler/dolphinscheduler as
your username and password
+SPRING_DATASOURCE_USERNAME="dolphinscheduler"
+SPRING_DATASOURCE_PASSWORD="dolphinscheduler"
+</code></pre>
+<ul>
<li>
<p>Execute database upgrade script</p>
<p><code>sh ./script/create-dolphinscheduler.sh</code></p>
diff --git a/en-us/docs/2.0.1/user_doc/upgrade.json
b/en-us/docs/2.0.1/user_doc/upgrade.json
index 8b7e443..2a399d8 100644
--- a/en-us/docs/2.0.1/user_doc/upgrade.json
+++ b/en-us/docs/2.0.1/user_doc/upgrade.json
@@ -1,6 +1,6 @@
{
"filename": "upgrade.md",
- "__html": "<h1>DolphinScheduler upgrade documentation</h1>\n<h2>1. Back Up
Previous Version's Files and Database.</h2>\n<h2>2. Stop All Services of
DolphinScheduler.</h2>\n<p><code>sh ./script/stop-all.sh</code></p>\n<h2>3.
Download the New Version's Installation Package.</h2>\n<ul>\n<li><a
href=\"/en-us/download/download.html\">Download</a> the latest version of the
installation packages.</li>\n<li>The following upgrade operations need to be
performed in the new version's directory.</ [...]
+ "__html": "<h1>DolphinScheduler upgrade documentation</h1>\n<h2>1. Back Up
Previous Version's Files and Database.</h2>\n<h2>2. Stop All Services of
DolphinScheduler.</h2>\n<p><code>sh ./script/stop-all.sh</code></p>\n<h2>3.
Download the New Version's Installation Package.</h2>\n<ul>\n<li><a
href=\"/en-us/download/download.html\">Download</a> the latest version of the
installation packages.</li>\n<li>The following upgrade operations need to be
performed in the new version's directory.</ [...]
"link": "/dist/en-us/docs/2.0.1/user_doc/upgrade.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
b/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
index a11b674..4cb20fb 100644
--- a/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
+++ b/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
@@ -129,15 +129,7 @@ javaHome="/your/java/home/here"
#</span><span class="bash">
---------------------------------------------------------</span>
<span class="hljs-meta">#</span><span class="bash"> Database</span>
<span class="hljs-meta">#</span><span class="bash">
---------------------------------------------------------</span>
-<span class="hljs-meta">#</span><span class="bash"> Database <span
class="hljs-built_in">type</span>, username, password, IP, port, metadata. For
now dbtype supports `mysql` and `postgresql`</span>
-dbtype="mysql"
-dbhost="localhost:3306"
-<span class="hljs-meta">#</span><span class="bash"> Have to modify <span
class="hljs-keyword">if</span> you are not using
dolphinscheduler/dolphinscheduler as your username and password</span>
-username="dolphinscheduler"
-password="dolphinscheduler"
-dbname="dolphinscheduler"
-<span class="hljs-meta">
-#</span><span class="bash"> Database <span class="hljs-built_in">type</span>,
username, password, IP, port, metadata. For now dbtype supports `mysql` and
`postgresql`, `H2`</span>
+<span class="hljs-meta">#</span><span class="bash"> Database <span
class="hljs-built_in">type</span>, username, password, IP, port, metadata. For
now dbtype supports `mysql` and `postgresql`, `H2`</span>
<span class="hljs-meta">#</span><span class="bash"> Please make sure that the
value of configuration is quoted <span class="hljs-keyword">in</span> double
quotation marks, otherwise may not take effect</span>
DATABASE_TYPE="mysql"
SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
diff --git a/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.json
b/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.json
index b25d56c..b1bc18e 100644
--- a/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.json
+++ b/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.json
@@ -1,6 +1,6 @@
{
"filename": "pseudo-cluster.md",
- "__html": "<h1>Pseudo-Cluster Deployment</h1>\n<p>The purpose of
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, api server, and
logger server are all on the same machine.</p>\n<p>If you are a green hand and
want to experience DolphinScheduler, we recommended you install follow <a
href=\"standalone.md\">Standalone</a>. If you want to experience more complete
functions or schedule large tasks numbe [...]
+ "__html": "<h1>Pseudo-Cluster Deployment</h1>\n<p>The purpose of
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, api server, and
logger server are all on the same machine.</p>\n<p>If you are a green hand and
want to experience DolphinScheduler, we recommended you install follow <a
href=\"standalone.md\">Standalone</a>. If you want to experience more complete
functions or schedule large tasks numbe [...]
"link":
"/dist/en-us/docs/2.0.1/user_doc/guide/installation/pseudo-cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/latest/user_doc/upgrade.html
b/en-us/docs/latest/user_doc/upgrade.html
index 7e7b615..66d457d 100644
--- a/en-us/docs/latest/user_doc/upgrade.html
+++ b/en-us/docs/latest/user_doc/upgrade.html
@@ -22,20 +22,21 @@
<h2>4. Database Upgrade</h2>
<ul>
<li>
-<p>Modify the following properties in conf/datasource.properties.</p>
+<p>Modify the following properties in
<code>conf/config/install_config.conf</code>.</p>
</li>
<li>
<p>If you use MySQL as the database to run DolphinScheduler, please comment
out PostgreSQL related configurations, and add mysql connector jar into lib
dir, here we download mysql-connector-java-8.0.16.jar, and then correctly
config database connect information. You can download mysql connector jar <a
href="https://downloads.MySQL.com/archives/c-j/">here</a>. Alternatively, if
you use Postgres as database, you just need to comment out Mysql related
configurations, and correctly config da [...]
-<pre><code class="language-properties"><span class="hljs-comment"> #
postgre</span>
-<span class="hljs-comment">
#spring.datasource.driver-class-name=org.postgresql.Driver</span>
-<span class="hljs-comment">
#spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler</span>
-<span class="hljs-comment"> # mysql</span>
- <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span
class="hljs-string">com.mysql.jdbc.Driver</span>
- <span class="hljs-meta">spring.datasource.url</span>=<span
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true</span>
- <span class="hljs-meta">spring.datasource.username</span>=<span
class="hljs-string">xxx</span>
- <span class="hljs-meta">spring.datasource.password</span>=<span
class="hljs-string">xxx</span>
-</code></pre>
</li>
+</ul>
+<pre><code class="language-conf"># Database type, username, password, IP,
port, metadata. For now dbtype supports `mysql` and `postgresql`, `H2`
+# Please make sure that the value of configuration is quoted in double
quotation marks, otherwise may not take effect
+DATABASE_TYPE="mysql"
+SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
+# Have to modify if you are not using dolphinscheduler/dolphinscheduler as
your username and password
+SPRING_DATASOURCE_USERNAME="dolphinscheduler"
+SPRING_DATASOURCE_PASSWORD="dolphinscheduler"
+</code></pre>
+<ul>
<li>
<p>Execute database upgrade script</p>
<p><code>sh ./script/create-dolphinscheduler.sh</code></p>
diff --git a/en-us/docs/latest/user_doc/upgrade.json
b/en-us/docs/latest/user_doc/upgrade.json
index 8b7e443..2a399d8 100644
--- a/en-us/docs/latest/user_doc/upgrade.json
+++ b/en-us/docs/latest/user_doc/upgrade.json
@@ -1,6 +1,6 @@
{
"filename": "upgrade.md",
- "__html": "<h1>DolphinScheduler upgrade documentation</h1>\n<h2>1. Back Up
Previous Version's Files and Database.</h2>\n<h2>2. Stop All Services of
DolphinScheduler.</h2>\n<p><code>sh ./script/stop-all.sh</code></p>\n<h2>3.
Download the New Version's Installation Package.</h2>\n<ul>\n<li><a
href=\"/en-us/download/download.html\">Download</a> the latest version of the
installation packages.</li>\n<li>The following upgrade operations need to be
performed in the new version's directory.</ [...]
+ "__html": "<h1>DolphinScheduler upgrade documentation</h1>\n<h2>1. Back Up
Previous Version's Files and Database.</h2>\n<h2>2. Stop All Services of
DolphinScheduler.</h2>\n<p><code>sh ./script/stop-all.sh</code></p>\n<h2>3.
Download the New Version's Installation Package.</h2>\n<ul>\n<li><a
href=\"/en-us/download/download.html\">Download</a> the latest version of the
installation packages.</li>\n<li>The following upgrade operations need to be
performed in the new version's directory.</ [...]
"link": "/dist/en-us/docs/2.0.1/user_doc/upgrade.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/2.0.1/user_doc/upgrade.html
b/zh-cn/docs/2.0.1/user_doc/upgrade.html
index e19075c..7f2b384 100644
--- a/zh-cn/docs/2.0.1/user_doc/upgrade.html
+++ b/zh-cn/docs/2.0.1/user_doc/upgrade.html
@@ -25,24 +25,23 @@
<p><strong>请先备份现有数据库</strong></p>
</li>
<li>
-<p>修改conf/datasource.properties中的下列属性</p>
+<p>修改 <code>conf/config/install_config.conf</code> 中的下列属性</p>
</li>
<li>
<p>如果选择 MySQL,请注释掉 PostgreSQL 相关配置(反之同理), 还需要手动添加 [<a
href="https://downloads.MySQL.com/archives/c-j/"> mysql-connector-java 驱动 jar
</a>] 包到 lib 目录下,这里下载的是mysql-connector-java-8.0.16.jar,然后正确配置数据库连接相关信息</p>
-<pre><code class="language-properties"><span class="hljs-comment"> #
postgre</span>
-<span class="hljs-comment">
#spring.datasource.driver-class-name=org.postgresql.Driver</span>
-<span class="hljs-comment">
#spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler</span>
-<span class="hljs-comment"> # mysql</span>
- <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span
class="hljs-string">com.mysql.jdbc.Driver</span>
- <span class="hljs-meta">spring.datasource.url</span>=<span
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
需要修改ip,本机localhost即可</span>
- <span class="hljs-meta">spring.datasource.username</span>=<span
class="hljs-string">xxx
需要修改为上面的{user}值</span>
- <span class="hljs-meta">spring.datasource.password</span>=<span
class="hljs-string">xxx
需要修改为上面的{password}值</span>
-</code></pre>
-</li>
-<li>
-<p>执行数据库升级脚本</p>
</li>
</ul>
+<pre><code class="language-conf"># 数据库的类型,用户名,密码,IP,端口,元数据库db。其中 DATABASE_TYPE
目前支持 mysql, postgresql, H2
+# 请确保配置的值使用双引号引用,否则配置可能不生效
+DATABASE_TYPE="mysql"
+SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
+# 如果你不是以 dolphinscheduler/dolphinscheduler 作为用户名和密码的,需要进行修改
+SPRING_DATASOURCE_USERNAME="dolphinscheduler"
+SPRING_DATASOURCE_PASSWORD="dolphinscheduler"
+</code></pre>
+<ul>
+<li>执行数据库升级脚本</li>
+</ul>
<p><code>sh ./script/create-dolphinscheduler.sh</code></p>
<h2>5. 服务升级</h2>
<h3>5.1 修改<code>conf/config/install_config.conf</code>配置内容</h3>
diff --git a/zh-cn/docs/2.0.1/user_doc/upgrade.json
b/zh-cn/docs/2.0.1/user_doc/upgrade.json
index d8c43b2..b1341c7 100644
--- a/zh-cn/docs/2.0.1/user_doc/upgrade.json
+++ b/zh-cn/docs/2.0.1/user_doc/upgrade.json
@@ -1,6 +1,6 @@
{
"filename": "upgrade.md",
- "__html": "<h1>DolphinScheduler升级文档</h1>\n<h2>1. 备份上一版本文件和数据库</h2>\n<h2>2.
停止dolphinscheduler所有服务</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>3. 下载新版本的安装包</h2>\n<ul>\n<li><a
href=\"https://dolphinscheduler.apache.org/zh-cn/download/download.html\">下载</a>),
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p><strong>请先备份现有数据库</strong></p>\n</li>\n<li>\n<p>修改conf/datasource.properties中的下列属性</p>\n</li>\n<li>\n<p>如果选择
MySQL,请注释掉 PostgreSQL 相 [...]
+ "__html": "<h1>DolphinScheduler升级文档</h1>\n<h2>1. 备份上一版本文件和数据库</h2>\n<h2>2.
停止dolphinscheduler所有服务</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>3. 下载新版本的安装包</h2>\n<ul>\n<li><a
href=\"https://dolphinscheduler.apache.org/zh-cn/download/download.html\">下载</a>),
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p><strong>请先备份现有数据库</strong></p>\n</li>\n<li>\n<p>修改
<code>conf/config/install_config.conf</code> 中的下列属性</p>\n</li>\n<li>\n<p>如果选择
MyS [...]
"link": "/dist/zh-cn/docs/2.0.1/user_doc/upgrade.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/latest/user_doc/upgrade.html
b/zh-cn/docs/latest/user_doc/upgrade.html
index e19075c..7f2b384 100644
--- a/zh-cn/docs/latest/user_doc/upgrade.html
+++ b/zh-cn/docs/latest/user_doc/upgrade.html
@@ -25,24 +25,23 @@
<p><strong>请先备份现有数据库</strong></p>
</li>
<li>
-<p>修改conf/datasource.properties中的下列属性</p>
+<p>修改 <code>conf/config/install_config.conf</code> 中的下列属性</p>
</li>
<li>
<p>如果选择 MySQL,请注释掉 PostgreSQL 相关配置(反之同理), 还需要手动添加 [<a
href="https://downloads.MySQL.com/archives/c-j/"> mysql-connector-java 驱动 jar
</a>] 包到 lib 目录下,这里下载的是mysql-connector-java-8.0.16.jar,然后正确配置数据库连接相关信息</p>
-<pre><code class="language-properties"><span class="hljs-comment"> #
postgre</span>
-<span class="hljs-comment">
#spring.datasource.driver-class-name=org.postgresql.Driver</span>
-<span class="hljs-comment">
#spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler</span>
-<span class="hljs-comment"> # mysql</span>
- <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span
class="hljs-string">com.mysql.jdbc.Driver</span>
- <span class="hljs-meta">spring.datasource.url</span>=<span
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
需要修改ip,本机localhost即可</span>
- <span class="hljs-meta">spring.datasource.username</span>=<span
class="hljs-string">xxx
需要修改为上面的{user}值</span>
- <span class="hljs-meta">spring.datasource.password</span>=<span
class="hljs-string">xxx
需要修改为上面的{password}值</span>
-</code></pre>
-</li>
-<li>
-<p>执行数据库升级脚本</p>
</li>
</ul>
+<pre><code class="language-conf"># 数据库的类型,用户名,密码,IP,端口,元数据库db。其中 DATABASE_TYPE
目前支持 mysql, postgresql, H2
+# 请确保配置的值使用双引号引用,否则配置可能不生效
+DATABASE_TYPE="mysql"
+SPRING_DATASOURCE_URL="jdbc:mysql://ds1:3306/ds_201_doc?useUnicode=true&characterEncoding=UTF-8"
+# 如果你不是以 dolphinscheduler/dolphinscheduler 作为用户名和密码的,需要进行修改
+SPRING_DATASOURCE_USERNAME="dolphinscheduler"
+SPRING_DATASOURCE_PASSWORD="dolphinscheduler"
+</code></pre>
+<ul>
+<li>执行数据库升级脚本</li>
+</ul>
<p><code>sh ./script/create-dolphinscheduler.sh</code></p>
<h2>5. 服务升级</h2>
<h3>5.1 修改<code>conf/config/install_config.conf</code>配置内容</h3>
diff --git a/zh-cn/docs/latest/user_doc/upgrade.json
b/zh-cn/docs/latest/user_doc/upgrade.json
index d8c43b2..b1341c7 100644
--- a/zh-cn/docs/latest/user_doc/upgrade.json
+++ b/zh-cn/docs/latest/user_doc/upgrade.json
@@ -1,6 +1,6 @@
{
"filename": "upgrade.md",
- "__html": "<h1>DolphinScheduler升级文档</h1>\n<h2>1. 备份上一版本文件和数据库</h2>\n<h2>2.
停止dolphinscheduler所有服务</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>3. 下载新版本的安装包</h2>\n<ul>\n<li><a
href=\"https://dolphinscheduler.apache.org/zh-cn/download/download.html\">下载</a>),
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p><strong>请先备份现有数据库</strong></p>\n</li>\n<li>\n<p>修改conf/datasource.properties中的下列属性</p>\n</li>\n<li>\n<p>如果选择
MySQL,请注释掉 PostgreSQL 相 [...]
+ "__html": "<h1>DolphinScheduler升级文档</h1>\n<h2>1. 备份上一版本文件和数据库</h2>\n<h2>2.
停止dolphinscheduler所有服务</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>3. 下载新版本的安装包</h2>\n<ul>\n<li><a
href=\"https://dolphinscheduler.apache.org/zh-cn/download/download.html\">下载</a>),
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p><strong>请先备份现有数据库</strong></p>\n</li>\n<li>\n<p>修改
<code>conf/config/install_config.conf</code> 中的下列属性</p>\n</li>\n<li>\n<p>如果选择
MyS [...]
"link": "/dist/zh-cn/docs/2.0.1/user_doc/upgrade.html",
"meta": {}
}
\ No newline at end of file