Robert,

To stop a running query, you'll need to do a 'myqsladmin processlist' 
 and once you find the PID for the query, issues a "mysqladmin kill PID".
This should do the trick.

Thanks,

Ozette

Robert Citek wrote:

>Hello all,
>
>How do I stop a query once it has started without quitting the MySQL client?
>
>I have a MySQL daemon and client (v3.23.36) running on a RedHat Linux 7.1
>box.  I ran a query that joined two large tables (>300K rows each) on
>columns that I had forgot to index.  When I pressed Ctrl-C, this not only
>stopped the query but also abortted the mysql client.  How can I stop only
>the query?
>
>Regards,
>- Robert
>
>
>---------------------------------------------------------------------
>Before posting, please check:
>   http://www.mysql.com/manual.php   (the manual)
>   http://lists.mysql.com/           (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail <[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>  
>




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to