Bug #3177 Ctrl+C should kill a running query, not cause mysql to exit
Submitted: 15 Mar 2004 10:56 Modified: 7 Oct 2005 22:12
Reporter: [ name withheld ] Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:any OS:Any (any)
Assigned to: CPU Architecture:Any

[15 Mar 2004 10:56] [ name withheld ]
Description:
Date: 15 Mar 2004 16:56:04 -0000
From: docs@mysql.com
To: yf110@victoria.tc.ca
Subject: Your comment to 'mysql' in the MySQL Reference Manual was removed.

The user comment system in the MySQL manual is not the place to
request features. You can do so using our bug-tracking system at
http://bugs.mysql.com/. Thanks.

The original comment:

My feature request is a way to cancel a running query without exiting from
the mysql program.  It would be ideal if ^C would abort the query but not
kill the program (like in oracle sqlplus).  If that is not possible then
another solution would be to define a signal that could be sent to the
mysql program that causes it to cancel a query.
(e.g. after putting the mysql command into the background, type 
    $ kill -SIGwhatever $the-mysql-PID
the result would be for the query to be cancelled the mysql program to keep running)

How to repeat:
there' nothing to repeat
[7 Oct 2005 22:12] Hartmut Holzgraefe
This feature was already requested in Bug #1989