KILL thread_id

Description: Kills the thread identified by thread_id. (A thread represents one MySQL connection and is not the same as a Unix thread.)

Works the same as mysqladmin kill thread_id.

Description in: Day 15

See also: SHOW PROCESSLIST

Get Sams Teach Yourself MySQL in 21 Days, Second 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.