News for hackers. Stuff that matters.
Re:Yes `yes no` by sneak on Thursday March 14, 2013 @02:48AM (#5373457)
At least with MySQL's tools, thanks to ssh's happiness to work as a pipe, it's very easy to clone a database locally for fucking about when you're trying to do something like this:

  ssh remotehost.example.com mysqldump -udbuser proddatabase | mysql -uroot testdatabase
(n.b. the mysqldump options that may lock your production tables during the dump.)

There are no comments on this comment yet.