I am beginner to MySQL and SQL and I am learning these technologies from MySQL and MyISAM websites.
I am learning the KILL
command now and have learned how to use KILL CONNECTION
. But when I come to learn KILL QUERY
from MySQL and MyISAM websites where they simply provided information about KILL QUERY
that they terminate query that the specified connection id is executing.
Other user (not me) executes INSERT
and DELETE
queries but when i have used KILL QUERY
by getting the connection id of other user via SHOW PROCESSLIST
command, it says
Query OK, 0 rows affected (0.01 sec)
But nothing happen to other user.
I just want to know that what is the exact use of this command. What is the purpose of this KILL QUERY
command. Can anyone tell me?