Load more display on MySQL command line

Source: Internet
Author: User
Tags mysql command line

Mysql> Pager More
PAGER set to ' more '
Mysql> Pager Less
PAGER set to ' less '
Mysql> Nopager
PAGER set to stdout

Three states of MySQL pager

Set up

Mysql> Pager More
PAGER set to ' more '

Then the query, our results will not be a real flash, will only show the first page, if you want to see the following data, press ENTER

This problem comes, can not hundreds of thousands of lines, let me line down to see it???

It's going to help, and it's coming out of the search results.

--more--

Later, click H
Most commands optionally preceded by integer argument K. Defaults in brackets.
Star (*) indicates argument becomes new default.
-------------------------------------------------------------------------------
<space> Display Next k lines of text [current screen size]
Z Display next k lines of text [current screen size]*
<return> Display Next k lines of text [1]*
D or ctrl-d Scroll k lines [Current Scroll size, initially 11]*
Q or Q or <interrupt> Exit from
s Skip forward k lines of text [1]
F Skip forward K screenfuls of text [1]
B or Ctrl-b Skip backwards k screenfuls of text [1]
' Go to place where previous search started
= Display Current line number
/<regular expression> Search for kth occurrence of regular expression [1]
n Search for kth occurrence of last R.E [1]
!<cmd> or:!<cmd> Execute <cmd> in a Subshell
V Start Up/usr/bin/vi at
Ctrl-l Redraw Screen
: N Go to kth next file [1]
:p Go to kth previous file [1]
: F Display Current file name and line number
. Repeat Previous Command
-------------------------------------------------------------------------------
--more--

All the help is here, don't know, just take a look.

The feeling is still very convenient

Load more display on MySQL command line

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.