If you fired a query, that takes more time to complete their execution.
but you want to stop this query.
To stop this query you must use Kill command to achieve it.
Follow two step to kill your query.
above command will show all running process on the server.
Here  you will see thread ID return by above command.
mysql> KILL 22;
kill thread 22  to kill your query.

eXTReMe Tracker