Name

KILL

Syntax

KILL thread_id

Description

Terminates the specified thread. The thread ID numbers can be found using SHOW PROCESSES. Killing threads owned by users other than yourself requires PROCESS privilege.

Example

# Terminate thread 3
KILL 3

Get Managing & Using MySQL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.