12 Jun 21:05
Re: Interrupt mysql output without exiting the mysql shell
From: Christian Pearce <christian@...>
Subject: Re: Interrupt mysql output without exiting the mysql shell
Newsgroups: gmane.org.user-groups.linux.cplug.general
Date: 2008-06-12 19:05:45 GMT
Subject: Re: Interrupt mysql output without exiting the mysql shell
Newsgroups: gmane.org.user-groups.linux.cplug.general
Date: 2008-06-12 19:05:45 GMT
mysql> \P less
PAGER set to 'less'
On Thu, Jun 12, 2008 at 2:35 PM, Nathan Powell <nathan-O3Vx3Hc2CDOnOwvzH/7vEg@public.gmane.org> wrote:
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
------------------------------------
_______________________________________________
CPLUG mailing list
To unsubscribe send a mail to cplug+unsubscribe-n/VI1dMKjLJeoWH0uzbU5w@public.gmane.org
Archives: http://dir.gmane.org/gmane.org.user-groups.linux.cplug.general
--
Christian
RSS Feed