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 152ca301c Automated deployment:
e381484eaf198bd26e31abd497ccd0020facfa49
152ca301c is described below
commit 152ca301c8fd57e62d80db83d9cae0dc1d23521d
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Apr 23 05:05:28 2022 +0000
Automated deployment: e381484eaf198bd26e31abd497ccd0020facfa49
---
.../user_doc/guide/installation/pseudo-cluster.html | 21 ++++++++++++++++++---
.../user_doc/guide/installation/pseudo-cluster.json | 2 +-
en-us/docs/dev/user_doc/guide/start/docker.html | 2 +-
en-us/docs/dev/user_doc/guide/start/docker.json | 2 +-
en-us/docs/dev/user_doc/guide/upgrade.html | 15 ++++-----------
en-us/docs/dev/user_doc/guide/upgrade.json | 2 +-
.../user_doc/guide/installation/pseudo-cluster.html | 19 +++++++++++++++++--
.../user_doc/guide/installation/pseudo-cluster.json | 2 +-
zh-cn/docs/dev/user_doc/guide/upgrade.html | 15 ++++-----------
zh-cn/docs/dev/user_doc/guide/upgrade.json | 2 +-
10 files changed, 49 insertions(+), 33 deletions(-)
diff --git a/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html
b/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html
index d55268150..2fdf31a8c 100644
--- a/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html
+++ b/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html
@@ -128,19 +128,34 @@ dbname="dolphinscheduler"
registryServers="localhost:2181"
</code></pre>
<h2>Initialize the Database</h2>
-<p>DolphinScheduler metadata is stored in the relational database. Currently,
supports PostgreSQL and MySQL. If you use MySQL, you need to manually download
<a href="https://downloads.MySQL.com/archives/c-j/">mysql-connector-java
driver</a> (8.0.16) and move it to the lib directory of DolphinScheduler. Let's
take MySQL as an example for how to initialize the database:</p>
+<p>DolphinScheduler metadata is stored in the relational database. Currently,
supports PostgreSQL and MySQL. If you use MySQL, you need to manually download
<a href="https://downloads.MySQL.com/archives/c-j/">mysql-connector-java
driver</a> (8.0.16) and move it to the lib directory of DolphinScheduler, which
is <code>tools/libs/</code>. Let's take MySQL as an example for how to
initialize the database:</p>
+<p>For mysql 5.6 / 5.7</p>
<pre><code class="language-shell">mysql -uroot -p
<span class="hljs-meta">
mysql></span><span class="bash"> CREATE DATABASE dolphinscheduler DEFAULT
CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;</span>
<span class="hljs-meta">
-#</span><span class="bash"> Change {user} and {password} by requests</span>
+#</span><span class="bash"> Replace {user} and {password} with your username
and password</span>
<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'%'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'localhost'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
<span class="hljs-meta">
mysql></span><span class="bash"> flush privileges;</span>
</code></pre>
+<p>For mysql 8:</p>
+<pre><code class="language-shell">mysql -uroot -p
+<span class="hljs-meta">
+mysql></span><span class="bash"> CREATE DATABASE dolphinscheduler DEFAULT
CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;</span>
+<span class="hljs-meta">
+#</span><span class="bash"> Replace {user} and {password} with your username
and password</span>
+<span class="hljs-meta">mysql></span><span class="bash"> CREATE USER <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'%'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'%'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> CREATE USER <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'localhost'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'localhost'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> FLUSH
PRIVILEGES;</span>
+</code></pre>
+<p>Change the username and password in
<code>tools/conf/application.yaml</code> to {user} and {password} you set in
the previous step.</p>
+<p>Then, modify <code>tools/bin/dolphinscheduler_env.sh</code>, set mysql as
default database <code>export DATABASE=${DATABASE:-mysql}</code>.</p>
<p>After the above steps done you would create a new database for
DolphinScheduler, then run Shell scripts to init database:</p>
-<pre><code class="language-shell">sh script/create-dolphinscheduler.sh
+<pre><code class="language-shell">sh tools/bin/create-schema.sh
</code></pre>
<h2>Start DolphinScheduler</h2>
<p>Use <strong>deployment user</strong> you created above, running the
following command to complete the deployment, and the server log will be stored
in the logs folder.</p>
diff --git a/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.json
b/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.json
index 9397e0ece..b72311fd3 100644
--- a/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.json
+++ b/en-us/docs/dev/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 the
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, API server, are all
on the same machine.</p>\n<p>If you are a new hand and want to experience
DolphinScheduler functions, we recommend you install follow <a
href=\"standalone.md\">Standalone deployment</a>. If you want to experience
more complete functions and schedule massive tasks [...]
+ "__html": "<h1>Pseudo-Cluster Deployment</h1>\n<p>The purpose of the
pseudo-cluster deployment is to deploy the DolphinScheduler service on a single
machine. In this mode, DolphinScheduler's master, worker, API server, are all
on the same machine.</p>\n<p>If you are a new hand and want to experience
DolphinScheduler functions, we recommend you install follow <a
href=\"standalone.md\">Standalone deployment</a>. If you want to experience
more complete functions and schedule massive tasks [...]
"link":
"/dist/en-us/docs/dev/user_doc/guide/installation/pseudo-cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/user_doc/guide/start/docker.html
b/en-us/docs/dev/user_doc/guide/start/docker.html
index ab82a9582..d56180599 100644
--- a/en-us/docs/dev/user_doc/guide/start/docker.html
+++ b/en-us/docs/dev/user_doc/guide/start/docker.html
@@ -866,7 +866,7 @@ SW_GRPC_LOG_SERVER_PORT=11800
<p>Configure the mail service port for <code>alert-server</code>, default
value <code>empty</code>.</p>
<p><strong><code>MAIL_SENDER</code></strong></p>
<p>Configure the mail sender for <code>alert-server</code>, default value
<code>empty</code>.</p>
-<p><strong><code>MAIL_USER=</code></strong></p>
+<p><strong><code>MAIL_USER</code></strong></p>
<p>Configure the user name of the mail service for <code>alert-server</code>,
default value <code>empty</code>.</p>
<p><strong><code>MAIL_PASSWD</code></strong></p>
<p>Configure the mail service user password for <code>alert-server</code>,
default value <code>empty</code>.</p>
diff --git a/en-us/docs/dev/user_doc/guide/start/docker.json
b/en-us/docs/dev/user_doc/guide/start/docker.json
index 1640a4d29..4c4167993 100644
--- a/en-us/docs/dev/user_doc/guide/start/docker.json
+++ b/en-us/docs/dev/user_doc/guide/start/docker.json
@@ -1,6 +1,6 @@
{
"filename": "docker.md",
- "__html": "<h1>Quick Trial Docker
Deployment</h1>\n<h2>Pre-conditions</h2>\n<ul>\n<li><a
href=\"https://docs.docker.com/engine/install/\">Docker</a>
1.13.1+</li>\n<li><a href=\"https://docs.docker.com/compose/\">Docker
Compose</a> 1.11.0+</li>\n</ul>\n<h2>How to use docker image?</h2>\n<p>There
are 3 ways to quickly try DolphinScheduler.</p>\n<h3>I. Start DolphinScheduler
as docker-compose (recommended)</h3>\n<p>This method requires the installation
of <a href=\"https://docs.docker.com [...]
+ "__html": "<h1>Quick Trial Docker
Deployment</h1>\n<h2>Pre-conditions</h2>\n<ul>\n<li><a
href=\"https://docs.docker.com/engine/install/\">Docker</a>
1.13.1+</li>\n<li><a href=\"https://docs.docker.com/compose/\">Docker
Compose</a> 1.11.0+</li>\n</ul>\n<h2>How to use docker image?</h2>\n<p>There
are 3 ways to quickly try DolphinScheduler.</p>\n<h3>I. Start DolphinScheduler
as docker-compose (recommended)</h3>\n<p>This method requires the installation
of <a href=\"https://docs.docker.com [...]
"link": "/dist/en-us/docs/dev/user_doc/guide/start/docker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/user_doc/guide/upgrade.html
b/en-us/docs/dev/user_doc/guide/upgrade.html
index 7d2e2b0ce..0cfa73d5f 100644
--- a/en-us/docs/dev/user_doc/guide/upgrade.html
+++ b/en-us/docs/dev/user_doc/guide/upgrade.html
@@ -22,23 +22,16 @@
<h2>Database Upgrade</h2>
<ul>
<li>
-<p>Modify the following properties in
<code>conf/datasource.properties</code>.</p>
+<p>Change <code>username</code> and <code>password</code> in
<code>./tools/conf/application.yaml</code> to yours.</p>
</li>
<li>
-<p>If using MySQL as the database to run DolphinScheduler, please comment out
PostgreSQL related configurations, and add MYSQL connector jar into lib dir,
here we download <code>mysql-connector-java-8.0.16.jar</code>, and then
correctly configure database connection information. You can download MYSQL
connector jar from <a
href="https://downloads.MySQL.com/archives/c-j/">here</a>. Alternatively, if
you use PostgreSQL as the database, you just need to comment out Mysql related
configurati [...]
-<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>
+<p>If using MySQL as the database to run DolphinScheduler, please config it in
<code>./tools/bin/dolphinscheduler_env.sh</code>, and add MYSQL connector jar
into lib dir <code>./tools/lib</code>, here we download
<code>mysql-connector-java-8.0.16.jar</code>, and then correctly configure
database connection information. You can download MYSQL connector jar from <a
href="https://downloads.MySQL.com/archives/c-j/">here</a>. Otherwise,
PostgreSQL is the default database.</p>
+<pre><code class="language-shell">export DATABASE=${DATABASE:-mysql}
</code></pre>
</li>
<li>
<p>Execute database upgrade script:</p>
-<p><code>sh ./script/upgrade-dolphinscheduler.sh</code></p>
+<p><code>sh ./tools/bin/upgrade-schema.sh</code></p>
</li>
</ul>
<h2>Backend Service Upgrade</h2>
diff --git a/en-us/docs/dev/user_doc/guide/upgrade.json
b/en-us/docs/dev/user_doc/guide/upgrade.json
index 37e50aaf6..18b9ea666 100644
--- a/en-us/docs/dev/user_doc/guide/upgrade.json
+++ b/en-us/docs/dev/user_doc/guide/upgrade.json
@@ -1,6 +1,6 @@
{
"filename": "upgrade.md",
- "__html": "<h1>DolphinScheduler Upgrade Documentation</h1>\n<h2>Back-Up
Previous Version's Files and Database</h2>\n<h2>Stop All Services of
DolphinScheduler</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>Download the Latest Version 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.</li>\n</ul>\ [...]
+ "__html": "<h1>DolphinScheduler Upgrade Documentation</h1>\n<h2>Back-Up
Previous Version's Files and Database</h2>\n<h2>Stop All Services of
DolphinScheduler</h2>\n<p><code>sh
./script/stop-all.sh</code></p>\n<h2>Download the Latest Version 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.</li>\n</ul>\ [...]
"link": "/dist/en-us/docs/dev/user_doc/guide/upgrade.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html
b/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html
index dd9b045ed..9039ba891 100644
--- a/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html
+++ b/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html
@@ -128,7 +128,8 @@ dbname="dolphinscheduler"
registryServers="localhost:2181"
</code></pre>
<h2>初始化数据库</h2>
-<p>DolphinScheduler 元数据存储在关系型数据库中,目前支持 PostgreSQL 和 MySQL,如果使用 MySQL 则需要手动下载
<a href="https://downloads.MySQL.com/archives/c-j/">mysql-connector-java 驱动</a>
(8.0.16) 并移动到 DolphinScheduler 的 lib目录下。下面以 MySQL 为例,说明如何初始化数据库</p>
+<p>DolphinScheduler 元数据存储在关系型数据库中,目前支持 PostgreSQL 和 MySQL,如果使用 MySQL 则需要手动下载
<a href="https://downloads.MySQL.com/archives/c-j/">mysql-connector-java 驱动</a>
(8.0.16) 并移动到 DolphinScheduler 的 lib目录下(<code>tools/libs/</code>)。下面以 MySQL
为例,说明如何初始化数据库</p>
+<p>对于mysql 5.6 / 5.7:</p>
<pre><code class="language-shell">mysql -uroot -p
<span class="hljs-meta">
mysql></span><span class="bash"> CREATE DATABASE dolphinscheduler DEFAULT
CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;</span>
@@ -139,8 +140,22 @@ mysql></span><span class="bash"> CREATE DATABASE
dolphinscheduler DEFAULT CHA
<span class="hljs-meta">
mysql></span><span class="bash"> flush privileges;</span>
</code></pre>
+<p>对于mysql 8:</p>
+<pre><code class="language-shell">mysql -uroot -p
+<span class="hljs-meta">
+mysql></span><span class="bash"> CREATE DATABASE dolphinscheduler DEFAULT
CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;</span>
+<span class="hljs-meta">
+#</span><span class="bash"> 修改 {user} 和 {password} 为你希望的用户名和密码</span>
+<span class="hljs-meta">mysql></span><span class="bash"> CREATE USER <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'%'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'%'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> CREATE USER <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'localhost'</span> IDENTIFIED BY <span
class="hljs-string">'{password}'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> GRANT ALL
PRIVILEGES ON dolphinscheduler.* TO <span
class="hljs-string">'{user}'</span>@<span
class="hljs-string">'localhost'</span>;</span>
+<span class="hljs-meta">mysql></span><span class="bash"> FLUSH
PRIVILEGES;</span>
+</code></pre>
+<p>将<code>tools/conf/application.yaml</code>中的username和password改成你在上一步中设置的用户名{user}和密码{password}</p>
+<p>然后修改<code>tools/bin/dolphinscheduler_env.sh</code>,将mysql设置为默认数据类型<code>export
DATABASE=${DATABASE:-mysql}</code>.</p>
<p>完成上述步骤后,您已经为 DolphinScheduler 创建一个新数据库,现在你可以通过快速的 Shell 脚本来初始化数据库</p>
-<pre><code class="language-shell">sh script/create-dolphinscheduler.sh
+<pre><code class="language-shell">sh tools/bin/create-schema.sh
</code></pre>
<h2>启动 DolphinScheduler</h2>
<p>使用上面创建的<strong>部署用户</strong>运行以下命令完成部署,部署后的运行日志将存放在 logs 文件夹内</p>
diff --git a/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.json
b/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.json
index 116e49d60..1f0531ee8 100644
--- a/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.json
+++ b/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.json
@@ -1,6 +1,6 @@
{
"filename": "pseudo-cluster.md",
- "__html": "<h1>伪集群部署</h1>\n<p>伪集群部署目的是在单台机器部署 DolphinScheduler
服务,该模式下master、worker、api server 都在同一台机器上</p>\n<p>如果你是新手,想要体验 DolphinScheduler
的功能,推荐使用<a
href=\"standalone.md\">Standalone</a>方式体检。如果你想体验更完整的功能,或者更大的任务量,推荐使用<a
href=\"pseudo-cluster.md\">伪集群部署</a>。如果你是在生产中使用,推荐使用<a
href=\"cluster.md\">集群部署</a>或者<a
href=\"kubernetes.md\">kubernetes</a></p>\n<h2>前置准备工作</h2>\n<p>伪分布式部署
DolphinScheduler 需要有外部软件的支持</p>\n<ul>\n<li>JDK:下载<a
href=\"https://www.oracle.com/technetwork/java/javase/dow [...]
+ "__html": "<h1>伪集群部署</h1>\n<p>伪集群部署目的是在单台机器部署 DolphinScheduler
服务,该模式下master、worker、api server 都在同一台机器上</p>\n<p>如果你是新手,想要体验 DolphinScheduler
的功能,推荐使用<a
href=\"standalone.md\">Standalone</a>方式体检。如果你想体验更完整的功能,或者更大的任务量,推荐使用<a
href=\"pseudo-cluster.md\">伪集群部署</a>。如果你是在生产中使用,推荐使用<a
href=\"cluster.md\">集群部署</a>或者<a
href=\"kubernetes.md\">kubernetes</a></p>\n<h2>前置准备工作</h2>\n<p>伪分布式部署
DolphinScheduler 需要有外部软件的支持</p>\n<ul>\n<li>JDK:下载<a
href=\"https://www.oracle.com/technetwork/java/javase/dow [...]
"link":
"/dist/zh-cn/docs/dev/user_doc/guide/installation/pseudo-cluster.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/guide/upgrade.html
b/zh-cn/docs/dev/user_doc/guide/upgrade.html
index 5128a9e7e..52efaaf6f 100644
--- a/zh-cn/docs/dev/user_doc/guide/upgrade.html
+++ b/zh-cn/docs/dev/user_doc/guide/upgrade.html
@@ -22,25 +22,18 @@
<h2>4. 数据库升级</h2>
<ul>
<li>
-<p>修改conf/datasource.properties中的下列属性</p>
+<p>将<code>./tools/conf/application.yaml</code>中的username和password改成你设定数据库用户名和密码</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>
+<p>如果选择 MySQL,请修改<code>./tools/bin/dolphinscheduler_env.sh</code>中的如下配置,
还需要手动添加 [<a href="https://downloads.MySQL.com/archives/c-j/">
mysql-connector-java 驱动 jar </a>] 包到 lib
目录(<code>./tools/lib</code>)下,这里下载的是mysql-connector-java-8.0.16.jar</p>
+<pre><code class="language-shell">export DATABASE=${DATABASE:-mysql}
</code></pre>
</li>
<li>
<p>执行数据库升级脚本</p>
</li>
</ul>
-<p><code>sh ./script/upgrade-dolphinscheduler.sh</code></p>
+<p><code>sh ./tools/bin/upgrade-schema.sh</code></p>
<h2>5. 服务升级</h2>
<h3>5.1 修改<code>conf/config/install_config.conf</code>配置内容</h3>
<p>单机部署请参照<a
href="./installation/standalone.md">单机部署(Standalone)</a>中的<code>6.修改运行参数部分</code>
diff --git a/zh-cn/docs/dev/user_doc/guide/upgrade.json
b/zh-cn/docs/dev/user_doc/guide/upgrade.json
index 100411163..205ea96f3 100644
--- a/zh-cn/docs/dev/user_doc/guide/upgrade.json
+++ b/zh-cn/docs/dev/user_doc/guide/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=\"/zh-cn/download/download.html\">下载</a>,
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p>修改conf/datasource.properties中的下列属性</p>\n</li>\n<li>\n<p>如果选择
MySQL,请注释掉 PostgreSQL 相关配置(反之同理), 还需要手动添加 [<a
href=\"https://downloads.MySQL.com/archives/c-j/\"> mysql-con [...]
+ "__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=\"/zh-cn/download/download.html\">下载</a>,
下载最新版本的二进制安装包</li>\n<li>以下升级操作都需要在新版本的目录进行</li>\n</ul>\n<h2>4.
数据库升级</h2>\n<ul>\n<li>\n<p>将<code>./tools/conf/application.yaml</code>中的username和password改成你设定数据库用户名和密码</p>\n</li>\n<li>\n<p>如果选择
MySQL,请修改<code>./tools/bin/dolphinscheduler_env.sh</code>中的如下配置, [...]
"link": "/dist/zh-cn/docs/dev/user_doc/guide/upgrade.html",
"meta": {}
}
\ No newline at end of file