How to obtain same effect as 'less' in Linux in mysql?
i.e. the output display stops at the first screen, before you can move the output in vi way.
$pager less
$select * from table;
Furthermore, use -
$pager less
$select * from table\G
so that fields are displayed from up to down, instead of from left to right.
No comments:
Post a Comment