When debugging SQL statements, if I accidentally execute a query using the mysql command line, which is displayed with lots of results (even if the query itself is executed within a reasonable amount of time), the only way I know is to stop the endless stream from exiting - CTRL-C.
Unfortunately, this brings me back to the shell, forcing me to log in and select the database again.
To avoid this, I started running mysql with the -sigint-ignore option, so CTRL-C is ignored.
Now I need a way to interrupt the output of these long queries.
Is there a keyboard shortcut that will do this?
command-line mysql
rwired Jan 31 '09 at 5:35 2009-01-31 05:35
source share