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

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


The following commit(s) were added to refs/heads/master by this push:
     new 188c826  [INLONG-328] Add Tubemanager Sql instructions (#329)
188c826 is described below

commit 188c826a34a9a430f3df6e0341e5cd9cb1522c7e
Author: Schnapps <[email protected]>
AuthorDate: Wed Mar 30 11:29:33 2022 +0800

    [INLONG-328] Add Tubemanager Sql instructions (#329)
    
    Co-authored-by: EMsnap <[email protected]>
---
 docs/modules/agent/quick_start.md                              | 10 ++++++++++
 .../current/modules/agent/quick_start.md                       | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/docs/modules/agent/quick_start.md 
b/docs/modules/agent/quick_start.md
index e19b521..e34441b 100644
--- a/docs/modules/agent/quick_start.md
+++ b/docs/modules/agent/quick_start.md
@@ -7,6 +7,16 @@ sidebar_position: 2
 cd inlong-agent
 ```
 
+## Environment Preparation
+- Install and start MySQL 5.7+
+- Initialize the database
+  `sql/apache_tube_manager.sql` file, load this file through the command to 
complete the initialization of the table structure and basic data:
+
+  ```` shell
+  # Create database and table with username and password:
+  mysql -uDB_USER -pDB_PASSWD < sql/apache_tube_manager.sql
+  ````
+  
 ## Configuration
 
 Online operation needs to pull the configuration from inlong-manager, the 
configuration conf/agent.properties is as follows:
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
index 76983da..9b95bdf 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
@@ -7,6 +7,16 @@ sidebar_position: 2
 cd inlong-agent
 ```
 
+## 环境准备
+- 安装并启动 MySQL 5.7+
+- 初始化数据库
+  `sql/apache_tube_manager.sql`文件,通过下述命令加载此文件,完成表结构及基础数据的初始化:
+
+  ```shell
+  # 通过用户名和密码,创建 DB 和表:
+  mysql -uDB_USER -pDB_PASSWD < sql/apache_tube_manager.sql
+  ```
+  
 ## 配置
 
 线上运行需要从inlong-manager拉取配置,配置conf/agent.properties如下:

Reply via email to