I've created a new database. Why am I still getting the #1046 error during import?

Question

Grade: Education Subject: Support
I've created a new database. Why am I still getting the #1046 error during import?
Asked by:
82 Viewed 82 Answers

Answer (82)

Best Answer
(400)
Even after creating a database, double-check that you've selected it in phpMyAdmin's left-hand panel *before* starting the import. It's easy to create a database and then forget to select it. Refresh the page to ensure the changes are reflected. Also, verify the database name in the SQL file matches the one you created *exactly* (case sensitivity can matter depending on your MySQL configuration).