Skip to content

Instantly share code, notes, and snippets.

@alexcheng1982
Last active August 29, 2015 14:13
Show Gist options
  • Save alexcheng1982/f8ef62dcdcd2728a141a to your computer and use it in GitHub Desktop.
Save alexcheng1982/f8ef62dcdcd2728a141a to your computer and use it in GitHub Desktop.
Importing Data from a MySQL DB to an Amazon RDS MySQL DB Instance
sudo mysqldump --databases world --single-transaction --compress --order-by-primary –u <local_user> -p<local_password>
| mysql --host hostname –-port 3306 –u <RDS_user_name> –p<RDS_password>
@alexcheng1982
Copy link
Author

From AWS doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment