利用mysql客户端的pager功能即可:
mysql> pager md5sum - PAGER set to 'md5sum -' mysql> select * from user; b20bd3864962507e2e05cd8706440ffd - 3 rows in set (0.00 sec) mysql> select * from user; b20bd3864962507e2e05cd8706440ffd - 3 rows in set (0.00 sec) mysql> select * from user; b20bd3864962507e2e05cd8706440ffd - 3 rows in set (0.00 sec)
还不错吧,哈哈
本文转自叶金荣51CTO博客,原文链接:http://blog.51cto.com/imysql/308911,如需转载请自行联系原作者