diff --git a/doc/cetus-rw-admin.md b/doc/cetus-rw-admin.md index 2ffecec..72e7e52 100644 --- a/doc/cetus-rw-admin.md +++ b/doc/cetus-rw-admin.md @@ -21,7 +21,7 @@ | delete allow\_ip/deny\_ip '\@\' | delete address from white list of module | | set reduce\_conns (true\|false) | reduce idle connections if set to true | | set maintain (true\|false) | Accelerate to close the connection | -| refresh conns | refresh all server connections | +| refresh\_conns | refresh all server connections | | show maintain status | show maintain status | | show variables [like '%pattern%'] | | | select version | cetus version | diff --git a/doc/cetus-shard-admin.md b/doc/cetus-shard-admin.md index da74ee3..d8783ee 100644 --- a/doc/cetus-shard-admin.md +++ b/doc/cetus-shard-admin.md @@ -22,8 +22,8 @@ | delete allow\_ip/deny\_ip '\@\' | delete address from white list of module | | set reduce\_conns (true\|false) | reduce idle connections if set to true | | set maintain (true\|false) | Accelerate to close the connection | -| set charset_check (true\|false) | check the client charset is equal to the default charset | -| refresh conns | refresh all server connections | +| set charset\_check (true\|false) | check the client charset is equal to the default charset | +| refresh\_conns | refresh all server connections | | show maintain status | show maintain status | | show variables [like '%pattern%'] | | | select version | cetus version | diff --git a/plugins/admin/admin-commands.c b/plugins/admin/admin-commands.c index e6f29d6..d2412db 100644 --- a/plugins/admin/admin-commands.c +++ b/plugins/admin/admin-commands.c @@ -2074,7 +2074,7 @@ static struct sql_help_entry_t { {"insert into backends values ('ip:port', '[ro|rw]', 'state')", "add mysql instance to backends list", RW_HELP}, {"insert into backends values ('ip:port@group', '[ro|rw]', 'state')", "add mysql instance to backends list", SHARD_HELP}, {"kill query tid", "kill session when the thread id is equal to tid. e.g. kill query 1; ", ALL_HELP}, - {"refresh conns", "refresh all server connections. e.g. refresh conns; ", ALL_HELP}, + {"refresh_conns", "refresh all server connections. e.g. refresh_conns; ", ALL_HELP}, {"remove backend where [backend_ndx=index|address='ip:port']", "e.g. remove backend where address='3.1.2.1:6666'; ", ALL_HELP}, {"remove backend backend_ndx", "e.g. remove backend 1; ", ALL_HELP}, {"save settings", "save the current running configuration to files. e.g. save settings; ", ALL_HELP},