Dump MySQL Database
1mysqldump -u<username> -p<password> --no-create-db myDB -h localhost > mysql.backup
That way, it would strip the original database name and NOT become a problem when importing to another database name. See https://stackoverflow.com/questions/30835874/how-to-avoid-use-database-statement-on-mysqldump-backups