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/inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f40ad8e98d [INLONG-840][Doc] Adding more details to the tubemq-manager 
documentation (#834)
f40ad8e98d is described below

commit f40ad8e98d2ef4f56f02d5152d6155a6a272a826
Author: sunrisefromdark <[email protected]>
AuthorDate: Mon Aug 21 11:27:57 2023 +0800

    [INLONG-840][Doc] Adding more details to the tubemq-manager documentation 
(#834)
    
    Co-authored-by: Charles Zhang <[email protected]>
---
 docs/modules/tubemq/tubemq-manager/quick_start.md       | 17 +++++++++++------
 .../modules/tubemq/tubemq-manager/quick_start.md        | 16 +++++++++++-----
 2 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/docs/modules/tubemq/tubemq-manager/quick_start.md 
b/docs/modules/tubemq/tubemq-manager/quick_start.md
index b6c0c9d6e7..28dd196f68 100644
--- a/docs/modules/tubemq/tubemq-manager/quick_start.md
+++ b/docs/modules/tubemq/tubemq-manager/quick_start.md
@@ -14,14 +14,15 @@ mysql -uDB_USER -pDB_PASSWD < sql/apache_tube_manager.sql
 ````
   
 ## Configuration
-- create `tubemanager` and account in MySQL.
-- Add mysql information in conf/application.properties:
-
 ```ini
-# mysql configuration for manager
-spring.datasource.url=jdbc:mysql://mysql_ip:mysql_port/tubemanager
+# MySQL configuration for Manager
+spring.datasource.url=jdbc:mysql://mysql_ip:mysql_port/apache_tube_manager
 spring.datasource.username=mysql_username
 spring.datasource.password=mysql_password
+
+# If you are on JDK version 11+, add the following extra
+spring.jaxb-compatibility-mode=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
 ```
 
 ## Dependencies
@@ -35,11 +36,15 @@ spring.datasource.password=mysql_password
 - If the backend database is PostgreSQL, there's no need for additional 
dependencies.
 
 ## Start
-
 ``` bash
 $ bin/start-manager.sh 
 ```
 
+## Restart
+``` bash
+$ bin/restart-manager.sh 
+```
+
 ## Register TubeMQ cluster
 
     vim bin/init-tube-cluster.sh
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/tubemq/tubemq-manager/quick_start.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/tubemq/tubemq-manager/quick_start.md
index dafc89aeb4..cae30d5814 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/tubemq/tubemq-manager/quick_start.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/tubemq/tubemq-manager/quick_start.md
@@ -14,14 +14,15 @@ mysql -uDB_USER -pDB_PASSWD < sql/apache_tube_manager.sql
 ```
   
 ## 配置
-- 在mysql中创建`tubemanager`数据和相应用户.
-- 在conf/application.properties中添加mysql信息:
-
 ```ini
-# mysql configuration for manager
-spring.datasource.url=jdbc:mysql://mysql_ip:mysql_port/tubemanager
+# MySQL configuration for Manager
+spring.datasource.url=jdbc:mysql://mysql_ip:mysql_port/apache_tube_manager
 spring.datasource.username=mysql_username
 spring.datasource.password=mysql_password
+
+# 如果您使用的是 JDK 11+ 版本,请额外添加以下内容
+spring.jaxb-compatibility-mode=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
 ```
 
 ### 依赖
@@ -38,6 +39,11 @@ spring.datasource.password=mysql_password
 $ bin/start-manager.sh 
 ```
 
+## 重启
+``` bash
+$ bin/restart-manager.sh 
+```
+
 ## 初始化TubeMQ集群
 
     vim bin/init-tube-cluster.sh

Reply via email to