You can use the argument --pager[=progname] when starting the mysql client program, or use the command "pager [progname]" within the program. However, this doesn't work under Windows, and I don't know of any other way to page query results in Windows.
A few alternatives which might be useful:
- Set the command-window screen buffer to a useful size, so that you can scroll back to see earlier output. (Right-click the window's title bar, click Properties, click Layout, enter a higher value (maybe 1000) in Screen Buffer Size / Height).
- Use a GUI client program instead. MySQL Query Browser and MySQL Administrator ar available free from the MySQL website.