How do I mysqldump the database on my AWS RDS instance to a .sql file for local use?
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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With