MySQL
8.0.39
Source Code Documentation
COM_PROCESS_KILL
Ask the server to terminate a connection
Warning
As of MySQL 5.7.11, COM_PROCESS_KILL is deprecated and will be removed in a future version of MySQL. Instead, use COM_QUERY and a KILL command.
Same as the SQL command
KILL <id>
.
Payload
Type
Name
Description
int<1>
command
0x0C: COM_PROCESS_KILL
int<4>
connection_id
The connection to kill
Returns
ERR_Packet
or
OK_Packet
See also
dispatch_command, mysql_kill, sql_kill
Client/Server Protocol
Connection Lifecycle
%Command Phase
Utility Commands
Generated by
1.9.2