Oct 30th, 2013
I wanted to monitor the progress of long MySQL imports in the terminal window. I found the great utility called Pipe Viewer. It gives you a nice progress bar and %complete feedback.
To install on mac, use homebrew and do
brew install pv
.
Use:
pv [db name].sql | mysql -uexampleuser -pexamplepass exampledb