How quickly copy one DB to another

Well, this is quite simple actually:
mysqldump -u db_user -pYourPass -h 127.0.0.1 database_name_from | mysql -u db_user -pYourPass -h 127.0.0.1 database_name_to

Posted on September 10, 2013 at 18:03 by arte · Permalink
In: English, Linux, mySQL, Ubuntu

Leave a Reply