You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2020/06/08 08:00:57 UTC

[incubator-dolphinscheduler-website] branch master updated: [Feature][docs-zh] Add the MySQL dev detail description (#126)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new add9063  [Feature][docs-zh] Add the MySQL dev detail description (#126)
add9063 is described below

commit add9063c38e0d08fa58bea477dbc433d7b645073
Author: Yichao Yang <10...@qq.com>
AuthorDate: Mon Jun 8 16:00:46 2020 +0800

    [Feature][docs-zh] Add the MySQL dev detail description (#126)
---
 docs/zh-cn/1.2.0/user_doc/development-environment-setup.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/zh-cn/1.2.0/user_doc/development-environment-setup.md b/docs/zh-cn/1.2.0/user_doc/development-environment-setup.md
index 048105b..1f85d13 100644
--- a/docs/zh-cn/1.2.0/user_doc/development-environment-setup.md
+++ b/docs/zh-cn/1.2.0/user_doc/development-environment-setup.md
@@ -16,7 +16,7 @@
 #### 搭建后端
 1. 创建ds数据库CREATE DATABASE dolphinscheduler。
 2. 创建表和初始化数据:
-  修改dao模块resource目录下application.properties文件中的数据库配置信息,然后执行org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler的类,运行完,刷新数据库,表和数据都有了。
+  修改dao模块resource目录下application.properties文件中的数据库配置信息,如果你使用MySQL作为数据库,那么还需要配置pom.xml中mysql-connector-java依赖的scope为compile,然后执行org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler的类,运行完,刷新数据库,表和数据都有了。
 3. 启动MasterServer
  org.apache.dolphinscheduler.server.master.MasterServer类main函数增加如下代码:
    ```