NathanFriend.co.uk

Developers notebook

Month: August 2016

Start MySQL on Yosemite

sudo /usr/local/mysql/support-files/mysql.server start

Orignal source: http://osxdaily.com/2014/11/26/start-stop-mysql-commands-mac-os-x/

Monitor MySQL restore progress with pv

pv {source_database.sql} | mysql -u{user} -p {destination_database}

source https://major.io/2010/11/24/monitor-mysql-restore-progress-with-pv/

© 2017 NathanFriend.co.uk

Theme by Anders NorenUp ↑