MySQL client command must be common to you (mysql), with this small tip you should be able to redirect the output commands to any program?
To do this, simply use the pager command, followed by the name of the program to redirect the output.
mysql>pager more PAGER set to 'more' mysql>
The next time the result of a command exceeds one page, you simply press the space bar to move from page to page:)
To return to the default pager, use the command "nopager":
mysql> nopager PAGER set to stdout mysql>
mysql>pager vi -
mysql>pager grep -i name