Unable to migrate local database to RDS instance
I prefer using MySQL workbench. It's much more easier &amp; user friendly than the command line way.

It provides a simple GUI.

MySQL workbench or SQL Yog.

These are the steps that I did:


Install MySQL Workbench.
In AWS console, there must be a security group for your RDS instance. Add an inbound rule to that group for allowing connections from your machine. It's simple. Add your IP-address.
Open MySQL workbench, Add a new connection.
Give the connection a name you prefer.
Choose connection method- Standard TCP/IP
Enter your RDS endpoint in the field of Hostname.
Port:3306
Username: master username (the one which which you created during the creation of your RDS instance)
Password: master password
Click Test Connection to check your connection.
If connection is successful, click OK.
Open the connection.
you will see your database there.
Now you can export your mysqldump file to this database. Go to-> Server. Click Data Import.
You can check whether the data has been migrated by simply opening a blank SQL file &amp; typing in basic SQL commands like use database, select * from table;


That's it. Viola.