3 ms·
This looks nice, but what is wrong with: mysqldump -h 127.0.0.1 --database production | mysql -h yyy.yyy.yyy.yyy staging -f ?
by tkyjonathan 10y ago
This looks nice, but what is wrong with:
mysqldump -h 127.0.0.1 --database production | mysql -h yyy.yyy.yyy.yyy staging -f
?
- tkyjonathan 10y agoIs this for replication or maybe updating developer environments with fresh data? If the latter, maybe some more options like "WHERE date <= curdate() - interval 30 day"