/ Published in: Bash
Right at the bottom
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysqldump --opt --compress --user=USERHERE --password=PWHERE --host=SOURCE.HOST.HERE SOURCE_DB_NAME | mysql --user=USERHERE --password=PWHERE --host=TARGET.HOST.HERE -D TARGET_DB_NAME -C TARGET_DB_NAME
URL: http://answers.google.com/answers/threadview?id=24558