Duplicating the databases
- Create a new database, db2
- Run this command:
- 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