This commit is contained in:
wangbin579 2019-10-01 00:15:34 +08:00
parent a9a4d65180
commit 69bbb66fce
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
| delete allow\_ip/deny\_ip '\<user\>@\<address\>' | 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 |

View File

@ -22,8 +22,8 @@
| delete allow\_ip/deny\_ip '\<user\>@\<address\>' | 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 |

View File

@ -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},