SyntaxFix
Write A Post
Hire A Developer
Questions
It sounds like your database dump includes the information for creating the database. So don't give the MySQL command line a database name. It will create the new database and switch to it to do the import.