Error 1046 means that you didn't tell the server what database to import the database into.
If you are using CLI:
mysql -u {DB-USER-NAME} -p {empty.DB-NAME} < {db-you-want-to-import.sql}
If you are using phpmyadmin make sure you first create a new database. Then go into that new database and go to the import page.