Delete a running query in mysql
Type this below command in phpMyadmin or in terminal
You will see a list of running queries with process id.
If you want to delete a running query,type the below command
you can see the processid in first column.
At the last column will see the details of the running query .