Crear una copia local de la base de datos de Amazon RDS

How do I mysqldump the database on my AWS RDS instance to a .sql file for local use?

preguntado el 26 de agosto de 12 a las 22:08

2 Respuestas

Esto es facil:

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.

Respondido 27 ago 12, 18:08

Just a quick note for future viewers: you may need to use -h (lowercase) instead. The capitalized flag didn't work for me. - ascender

Or you can use a client like MySQL Work Bench to open it remotely and export it to .sql anytime you feel like.

Respondido 14 Feb 13, 07:02

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.