You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by lu...@apache.org on 2023/06/03 09:02:23 UTC

[doris] branch master updated: [docs](load-balancing):delete duplicate sentences and improve the documentation description (#20297)

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

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ce3be0c0a7 [docs](load-balancing):delete duplicate sentences and improve the documentation description (#20297)
ce3be0c0a7 is described below

commit ce3be0c0a72098e0772e29222f8b837a584e2652
Author: Euporia <31...@users.noreply.github.com>
AuthorDate: Sat Jun 3 17:02:16 2023 +0800

    [docs](load-balancing):delete duplicate sentences and improve the documentation description (#20297)
---
 docs/en/docs/admin-manual/cluster-management/load-balancing.md    | 6 +++++-
 docs/zh-CN/docs/admin-manual/cluster-management/load-balancing.md | 8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/docs/en/docs/admin-manual/cluster-management/load-balancing.md b/docs/en/docs/admin-manual/cluster-management/load-balancing.md
index 94dae6af74..b655d57e0d 100644
--- a/docs/en/docs/admin-manual/cluster-management/load-balancing.md
+++ b/docs/en/docs/admin-manual/cluster-management/load-balancing.md
@@ -549,7 +549,11 @@ cd /usr/local/nginx
 mysql -uroot -P6030 -h172.31.7.119
 ```
 
-Parameter explanation: -u specifies the Doris username -p specifies the Doris password, my password here is empty, so there is no -h specifies the Nginx proxy server IP-P specifies the port
+Parameter explanation: 
+> - -u specifies the Doris username 
+> - -p specifies the Doris password, my password here is empty, so there is no 
+> - -h specifies the Nginx proxy server IP
+> - -P specifies the port
 
 ```sql
 mysql -uroot -P6030 -h172.31.7.119
diff --git a/docs/zh-CN/docs/admin-manual/cluster-management/load-balancing.md b/docs/zh-CN/docs/admin-manual/cluster-management/load-balancing.md
index 3642ebf1c5..2cdde158b5 100644
--- a/docs/zh-CN/docs/admin-manual/cluster-management/load-balancing.md
+++ b/docs/zh-CN/docs/admin-manual/cluster-management/load-balancing.md
@@ -81,7 +81,7 @@ tcp        0      0 0.0.0.0:6033            0.0.0.0:*               LISTEN
 
 ### ProxySQL 配置
 
-ProxySQL 有配置文件 `/etc/proxysql.cnf` 和配置数据库文件`/var/lib/proxysql/proxysql.db`。**这里需要特别注意**:如果存在如果存在`"proxysql.db"`文件(在`/var/lib/proxysql`目录下),则 ProxySQL 服务只有在第一次启动时才会去读取`proxysql.cnf文件`并解析;后面启动会就不会读取`proxysql.cnf`文件了!如果想要让proxysql.cnf 文件里的配置在重启 proxysql 服务后生效(即想要让 proxysql 重启时读取并解析 proxysql.cnf配置文件),则需要先删除 `/var/lib/proxysql/proxysql.db`数据库文件,然后再重启 proxysql 服务。这样就相当于初始化启动 proxysql 服务了,会再次生产一个纯净的 proxysql.db 数据库文件(如果之前配置了 proxysql 相关路由规则等,则就会被抹掉)
+ProxySQL 有配置文件 `/etc/proxysql.cnf` 和配置数据库文件`/var/lib/proxysql/proxysql.db`。**这里需要特别注意**:如果存在`"proxysql.db"`文件(在`/var/lib/proxysql`目录下),则 ProxySQL 服务只有在第一次启动时才会去读取`proxysql.cnf文件`并解析;后面启动会就不会读取`proxysql.cnf`文件了!如果想要让proxysql.cnf 文件里的配置在重启 proxysql 服务后生效(即想要让 proxysql 重启时读取并解析 proxysql.cnf配置文件),则需要先删除 `/var/lib/proxysql/proxysql.db`数据库文件,然后再重启 proxysql 服务。这样就相当于初始化启动 proxysql 服务了,会再次生产一个纯净的 proxysql.db 数据库文件(如果之前配置了 proxysql 相关路由规则等,则就会被抹掉)
 
 #### 查看及修改配置文件
 
@@ -549,7 +549,11 @@ cd /usr/local/nginx
 mysql -uroot -P6030 -h172.31.7.119
 ```
 
-参数解释:-u   指定Doris用户名-p   指定Doris密码,我这里密码是空,所以没有-h   指定Nginx代理服务器IP-P   指定端口
+参数解释:
+> - -u   指定Doris用户名
+> - -p   指定Doris密码,我这里密码是空,所以没有
+> - -h   指定Nginx代理服务器IP
+> - -P   指定端口
 
 ```sql
 mysql -uroot -P6030 -h172.31.7.119


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org