You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/06/30 05:27:52 UTC
[shardingsphere] branch master updated: Sharding-Proxy add
customize profile directory describe. (#6214)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 54dc19d Sharding-Proxy add customize profile directory describe. (#6214)
54dc19d is described below
commit 54dc19d907161fb0dff3707f9243aa53f5be8f72
Author: Zonglei Dong <do...@apache.org>
AuthorDate: Tue Jun 30 13:27:41 2020 +0800
Sharding-Proxy add customize profile directory describe. (#6214)
---
.../content/quick-start/shardingsphere-proxy-quick-start.cn.md | 6 +++---
.../content/quick-start/shardingsphere-proxy-quick-start.en.md | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
index d6fe50d..9963dc6 100644
--- a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
+++ b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
@@ -25,12 +25,12 @@ weight = 2
sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh
```
-默认启动端口为`3307`。
+默认启动端口为 `3307`,默认配置文件目录为:`%SHARDINGSPHERE_PROXY_HOME%/conf/`。
-* 自定义端口
+* 自定义端口和配置文件目录
```bash
-sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port}
+sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}
```
## 4. 使用ShardingSphere-Proxy
diff --git a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
index d008e17..ab8fe4c 100644
--- a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
+++ b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
@@ -25,12 +25,12 @@ and decompress, then copy `mysql-connector-java-5.1.47.jar` to `%SHARDINGSPHERE_
sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh
```
-Default port is `3307`
+Default port is `3307`, default profile directory is `%SHARDINGSPHERE_PROXY_HOME%/conf/` .
-* Customize port
+* Customize port and profile directory
```bash
-sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${port}
+sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${port} ${proxy_conf_directory}
```
## 4. Use ShardingSphere-Proxy