Nathan Powell | 12 Jun 20:33
Gravatar

Interrupt mysql output without exiting the mysql shell

I am probably going to do a bad job of explaining what I mean here, if
so I apologize in advance.

When using the mysql shell from the command line, I will sometimes do a
select that gets a ton of results...

  mysql> SELECT * FROM nathans_ideas WHERE type = 'not right';

And the output will scroll by and by.  So I want to kill it with C-c
(Control+c) however if you do that, it actually exits the Mysql Shell.

I would have thought this was a property of Gnu-Readline and it would
just grab the C-c and kill the current query.  Alas, that is not so.  Is
there a way to do what I want without exiting the Mysql Shell?

--

-- 
nathan
nathan_at_nathanpowell_dot_org

Another flaw in the human character is that everybody wants to build
and nobody wants to do maintenance.
		 ~ Kurt Vonnegut
------------------------------------


Gmane