Skip to content

Add new release doc for 2.0.2#612

Merged
davidzollo merged 11 commits intoapache:masterfrom
zhongjiajie:release-202
Jan 6, 2022
Merged

Add new release doc for 2.0.2#612
davidzollo merged 11 commits intoapache:masterfrom
zhongjiajie:release-202

Conversation

@zhongjiajie
Copy link
Copy Markdown
Member

@zhongjiajie zhongjiajie commented Dec 29, 2021

Would change to formal PR until 2.0.2 release

TODO

@zhongjiajie zhongjiajie added the release New verison document release label Dec 29, 2021
@zhongjiajie zhongjiajie added this to the 2.0.2 milestone Dec 29, 2021
@zhongjiajie zhongjiajie self-assigned this Dec 29, 2021
Comment on lines +116 to +136
## 初始化数据库

DolphinScheduler 元数据存储在关系型数据库中,目前支持 PostgreSQL 和 MySQL,如果使用 MySQL 则需要手动下载 [mysql-connector-java 驱动][mysql] (8.0.16) 并移动到 DolphinScheduler 的 lib目录下。下面以 MySQL 为例,说明如何初始化数据库

```shell
mysql -uroot -p

mysql> CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

# 修改 {user} 和 {password} 为你希望的用户名和密码
mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'%' IDENTIFIED BY '{password}';
mysql> GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'localhost' IDENTIFIED BY '{password}';

mysql> flush privileges;
```

完成上述步骤后,您已经为 DolphinScheduler 创建一个新数据库,现在你可以通过快速的 Shell 脚本来初始化数据库

```shell
sh script/create-dolphinscheduler.sh
```
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am quite sure about this, please may sure Shell script script/create-dolphinscheduler.sh work for version 2.0.2 @lenboo

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am quite sure about this, please may sure Shell script script/create-dolphinscheduler.sh work for version 2.0.2 @lenboo

It's ok now.

@zhongjiajie zhongjiajie marked this pull request as ready for review January 6, 2022 01:47
@zhongjiajie zhongjiajie requested a review from lenboo January 6, 2022 01:47
Copy link
Copy Markdown
Contributor

@davidzollo davidzollo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1
good job

@davidzollo davidzollo merged commit c3a89e9 into apache:master Jan 6, 2022
@zhongjiajie zhongjiajie deleted the release-202 branch January 6, 2022 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release New verison document release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants