Connect to terminal on your instance [Instructions]
Run the following command to sign in to mySQL:
Replace <username> with your mySQL username, and when prompted, enter your password.
$ mysql -u <username> -p
Replace <database> with the name of the database which you are trying to run the dump file for:
mysql> USE <database>
Run the following command to dump the data into the chosen database:
mysql> SOURCE /path/to/your/file/dump.sql;
Leave a Reply