Skip to content

Commit 270032d

Browse files
committed
remove useless user config; add explanation of username and password
1 parent becafca commit 270032d

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

  • CN/modules/ROOT/pages/master/ecosystem_components
  • EN/modules/ROOT/pages/master/ecosystem_components

CN/modules/ROOT/pages/master/ecosystem_components/pgdog.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ name = "ivory_shard"
8888
host = "ivory-shard0"
8989
port = 5432
9090
database_name = "testdb"
91+
user = "ivorysql" # 如果不提供,默认使用`users.toml`中对应的`name`
92+
password = "ivorysql" # 如果不提供,默认使用`users.toml`中对应的`password`
9193
shard = 0
9294
9395
[[databases]]
@@ -115,12 +117,6 @@ name = "admin"
115117
user = "admin"
116118
password = "pgdog"
117119
118-
[[users]]
119-
name = "ivorysql"
120-
password = "ivorysql"
121-
database = "pg_shard"
122-
pool_size = 10
123-
124120
[[users]]
125121
name = "ivorysql"
126122
password = "ivorysql"

EN/modules/ROOT/pages/master/ecosystem_components/pgdog.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ name = "ivory_shard"
8787
host = "ivory-shard0"
8888
port = 5432
8989
database_name = "testdb"
90+
user = "ivorysql" # if not provide, using `name` in `users.toml`
91+
password = "ivorysql" # if not provide, using `password` in `users.toml`
9092
shard = 0
9193
9294
[[databases]]
@@ -114,12 +116,6 @@ name = "admin"
114116
user = "admin"
115117
password = "pgdog"
116118
117-
[[users]]
118-
name = "ivorysql"
119-
password = "ivorysql"
120-
database = "pg_shard"
121-
pool_size = 10
122-
123119
[[users]]
124120
name = "ivorysql"
125121
password = "ivorysql"

0 commit comments

Comments
 (0)