in the SQL File that is exported, look for a line like this:
CREATE DATABASE IF NOT EXISTS remote_database_name;
where "remote_database_name" is the name of the remote database
change that to:
USE local_database_name;
where "local_database_name" is the name of your local database.