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

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


The following commit(s) were added to refs/heads/master by this push:
     new e9be096  Fix 2.0 db init bug (#485)
e9be096 is described below

commit e9be0968c50874019f1e4706a49733ca21d31ffe
Author: Jiajie Zhong <[email protected]>
AuthorDate: Fri Oct 29 11:22:30 2021 +0800

    Fix 2.0 db init bug (#485)
    
    * Fix 2.0 db init bug
    
    * Add issue link
---
 docs/en-us/2.0.0/user_doc/guide/installation/pseudo-cluster.md | 7 +++++++
 docs/en-us/dev/user_doc/guide/installation/pseudo-cluster.md   | 7 +++++++
 docs/zh-cn/2.0.0/user_doc/guide/installation/pseudo-cluster.md | 7 +++++++
 docs/zh-cn/dev/user_doc/guide/installation/pseudo-cluster.md   | 7 +++++++
 4 files changed, 28 insertions(+)

diff --git a/docs/en-us/2.0.0/user_doc/guide/installation/pseudo-cluster.md 
b/docs/en-us/2.0.0/user_doc/guide/installation/pseudo-cluster.md
index d005937..3a8c794 100644
--- a/docs/en-us/2.0.0/user_doc/guide/installation/pseudo-cluster.md
+++ b/docs/en-us/2.0.0/user_doc/guide/installation/pseudo-cluster.md
@@ -83,6 +83,11 @@ mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 
'{user}'@'localhost' IDENTI
 mysql> flush privileges;
 ```
 
+Run the latest schema file manually in `sql/dolphinscheudler_*.sql` to 
initialization you database. If you use mysql, please run 
`sql/dolphinscheudler_mysql.sql`, for postgresql run 
`sql/dolphinscheudler_postgre.sql`.
+
+> **_NOTICE:_** In the latest version, the way running command `sh 
script/create-dolphinscheduler.sh` initialization database is broken, We have 
created a [issue-6597][issue] to track and fix this problem
+
+<!--
 Modify the database configuration and initialize
 
 ```properties
@@ -98,6 +103,7 @@ After modifying and saving, execute the following command to 
create database tab
 ```shell
 sh script/create-dolphinscheduler.sh
 ```
+-->
 
 ## Modify configuration
 
@@ -194,3 +200,4 @@ sh ./bin/dolphinscheduler-daemon.sh stop alert-server
 [jdk]: https://www.oracle.com/technetwork/java/javase/downloads/index.html
 [zookeeper]: https://zookeeper.apache.org/releases.html
 [mysql]: https://downloads.MySQL.com/archives/c-j/
+[issue]: https://github.com/apache/dolphinscheduler/issues/6597
diff --git a/docs/en-us/dev/user_doc/guide/installation/pseudo-cluster.md 
b/docs/en-us/dev/user_doc/guide/installation/pseudo-cluster.md
index d005937..3a8c794 100644
--- a/docs/en-us/dev/user_doc/guide/installation/pseudo-cluster.md
+++ b/docs/en-us/dev/user_doc/guide/installation/pseudo-cluster.md
@@ -83,6 +83,11 @@ mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 
'{user}'@'localhost' IDENTI
 mysql> flush privileges;
 ```
 
+Run the latest schema file manually in `sql/dolphinscheudler_*.sql` to 
initialization you database. If you use mysql, please run 
`sql/dolphinscheudler_mysql.sql`, for postgresql run 
`sql/dolphinscheudler_postgre.sql`.
+
+> **_NOTICE:_** In the latest version, the way running command `sh 
script/create-dolphinscheduler.sh` initialization database is broken, We have 
created a [issue-6597][issue] to track and fix this problem
+
+<!--
 Modify the database configuration and initialize
 
 ```properties
@@ -98,6 +103,7 @@ After modifying and saving, execute the following command to 
create database tab
 ```shell
 sh script/create-dolphinscheduler.sh
 ```
+-->
 
 ## Modify configuration
 
@@ -194,3 +200,4 @@ sh ./bin/dolphinscheduler-daemon.sh stop alert-server
 [jdk]: https://www.oracle.com/technetwork/java/javase/downloads/index.html
 [zookeeper]: https://zookeeper.apache.org/releases.html
 [mysql]: https://downloads.MySQL.com/archives/c-j/
+[issue]: https://github.com/apache/dolphinscheduler/issues/6597
diff --git a/docs/zh-cn/2.0.0/user_doc/guide/installation/pseudo-cluster.md 
b/docs/zh-cn/2.0.0/user_doc/guide/installation/pseudo-cluster.md
index 225a5cc..18ade6a 100644
--- a/docs/zh-cn/2.0.0/user_doc/guide/installation/pseudo-cluster.md
+++ b/docs/zh-cn/2.0.0/user_doc/guide/installation/pseudo-cluster.md
@@ -83,6 +83,11 @@ mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 
'{user}'@'localhost' IDENTI
 mysql> flush privileges;
 ```
 
+运行对应数据库的最新定义文件,位置在 `sql/dolphinscheudler_*.sql` 。例如你是 mysql ,运行 
`sql/dolphinscheudler_mysql.sql` ,是 postgresql 则运行 
`sql/dolphinscheudler_postgre.sql`。
+
+> **_NOTICE:_** 最新版本目前通过运行命令 `sh script/create-dolphinscheduler.sh` 
初始化数据库的方式暂不可用,我们创建了一个[issue-6597][issue] 去追踪并修复这个问题。
+
+<!--
 修改数据库配置,并初始化
 
 ```properties
@@ -98,6 +103,7 @@ spring.datasource.password=dolphinscheduler
 ```shell
 sh script/create-dolphinscheduler.sh
 ```
+-->
 
 ## 修改相关配置
 
@@ -193,3 +199,4 @@ sh ./bin/dolphinscheduler-daemon.sh stop alert-server
 [jdk]: https://www.oracle.com/technetwork/java/javase/downloads/index.html
 [zookeeper]: https://zookeeper.apache.org/releases.html
 [mysql]: https://downloads.MySQL.com/archives/c-j/
+[issue]: https://github.com/apache/dolphinscheduler/issues/6597
diff --git a/docs/zh-cn/dev/user_doc/guide/installation/pseudo-cluster.md 
b/docs/zh-cn/dev/user_doc/guide/installation/pseudo-cluster.md
index 225a5cc..18ade6a 100644
--- a/docs/zh-cn/dev/user_doc/guide/installation/pseudo-cluster.md
+++ b/docs/zh-cn/dev/user_doc/guide/installation/pseudo-cluster.md
@@ -83,6 +83,11 @@ mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO 
'{user}'@'localhost' IDENTI
 mysql> flush privileges;
 ```
 
+运行对应数据库的最新定义文件,位置在 `sql/dolphinscheudler_*.sql` 。例如你是 mysql ,运行 
`sql/dolphinscheudler_mysql.sql` ,是 postgresql 则运行 
`sql/dolphinscheudler_postgre.sql`。
+
+> **_NOTICE:_** 最新版本目前通过运行命令 `sh script/create-dolphinscheduler.sh` 
初始化数据库的方式暂不可用,我们创建了一个[issue-6597][issue] 去追踪并修复这个问题。
+
+<!--
 修改数据库配置,并初始化
 
 ```properties
@@ -98,6 +103,7 @@ spring.datasource.password=dolphinscheduler
 ```shell
 sh script/create-dolphinscheduler.sh
 ```
+-->
 
 ## 修改相关配置
 
@@ -193,3 +199,4 @@ sh ./bin/dolphinscheduler-daemon.sh stop alert-server
 [jdk]: https://www.oracle.com/technetwork/java/javase/downloads/index.html
 [zookeeper]: https://zookeeper.apache.org/releases.html
 [mysql]: https://downloads.MySQL.com/archives/c-j/
+[issue]: https://github.com/apache/dolphinscheduler/issues/6597

Reply via email to