Thursday, September 13, 2012

Duplicating databases

Duplicating the databases

- Create a new database, db2
- Run this command:
mysqldump -h [server] -u [user] -p[password] db1 | mysql -h [server] -u [user] -p[password] db2



Reference 

No comments:

Post a Comment