Reputation: 1907
How do I mysqldump the database on my AWS RDS instance to a .sql file for local use?
Upvotes: 7
Views: 4932
Reputation: 4214
Or you can use a client like MySQL Work Bench to open it remotely and export it to .sql anytime you feel like.
http://www.mysql.com/products/workbench/
Upvotes: 1
Reputation: 44284
This is easy:
mysqldump -H <RDS_URL> -u <user> -p<password> <db> > myfile.sql
As long as you add the -H
with proper user / password credentials, you'll have no problem.
Upvotes: 9