How do I automatically interrupting long queries in the mysql, if it possible? I'm understand, that I need optimize queries instead of. But now I have access on database server only.
+1
A:
As far as I know, you can not stop a query once it has been executed.
I'm understand, that I need optimize queries instead of.
That's the way you should go.
Other Possibility:
You may want to have a look at SQL Transactions if applicable in your case.
Sarfraz
2010-04-10 12:53:07
A:
While you are optimizing your queries you can interrupt them by killing the corresponding thread.
newtover
2010-04-10 20:16:21