Transfer database and tables from one server to another


/ Published in: Bash
Save to your folder(s)

Right at the bottom


Copy this code and paste it in your HTML
  1. mysqldump --opt --compress --user=USERHERE --password=PWHERE
  2. --host=SOURCE.HOST.HERE SOURCE_DB_NAME | mysql --user=USERHERE
  3. --password=PWHERE --host=TARGET.HOST.HERE -D TARGET_DB_NAME -C
  4. TARGET_DB_NAME

URL: http://answers.google.com/answers/threadview?id=24558

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.