blob: 4b3f187fa3c721c128171b361c6076c6e8c44e4f [file] [log] [blame]
commit 8ccb9a5eb4abc03fc71e218c34fbaf94ef2641eb
Author: Raigor <raigor.jiang@gmail.com>
Date: Thu Apr 1 15:39:05 2021 +0800
Remove authorizedSchemas config for Proxy. (#9888)
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.cn.md
index d24caacbcc..416a22283c 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.cn.md
@@ -13,5 +13,5 @@ authentication:
password: root # 自定义密码
sharding: # 自定义用户名
password: sharding # 自定义密码
- authorizedSchemas: sharding_db, replica_query_db # 该用户授权可访问的数据库,多个用逗号分隔。缺省将拥有 root 权限,可访问全部数据库。
+ hostname: '%' # 允许访问Sharding Proxy的主机。
```
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.en.md b/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.en.md
index 3b20bf88b5..953ef4712d 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/configuration/authentication.en.md
@@ -12,5 +12,5 @@ authentication:
password: root # Self-defined password
sharding: # Self-defined username
password: sharding # Self-defined password
- authorizedSchemas: sharding_db, replica_query_db # Schemas authorized to this user, please use commas to connect multiple schemas. Default authorized schemas is all of the schemas.
+ hostname: '%' # Which host can be allowed to access the Sharding Proxy.
```