Mysql: Show limited records in mysql shell?
1 answer
You can install pager in mysql client.
mysql> pager less
mysql> show tables;
. . .
mysql> nopager
In fact, you can set pager
for any shell command that you would normally use in a pipeline.
For example grep.
See some other tips here: http://www.mysqlperformanceblog.com/2013/01/21/fun-with-the-mysql-pager-command/
+4
source to share