Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f92732b

Browse files
nanfeng1999morningman
authored andcommitted
Update KILL.md
add description about kill query by query_id
1 parent b93c6c4 commit f92732b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements

docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/KILL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,18 @@ The thread process list identifier can be determined from the ID column of the I
3939
grammar:
4040

4141
```sql
42-
KILL [CONNECTION | QUERY] processlist_id
42+
KILL [CONNECTION] processlist_id
4343
````
4444

45+
In addition, you can also use processlist_id or query_id terminates the executing query command
46+
47+
grammar:
48+
49+
```sql
50+
KILL QUERY processlist_id | query_id
51+
````
52+
53+
4554
### Example
4655
4756
### Keywords

0 commit comments

Comments
 (0)