“No Database selected” error during the SQL file import

“No Database selected” error during the SQL file import

Obviously, the answer is in the error. You didn’t select any database before importing the SQL file. To fix this issue, you should perform the following steps:

  1. In the phpMyAdmin panel in the left column you can see the list of available databases. Click the name of your database in that list.
  2. Now you should see your database name above the top menu of the phpMyAdmin panel. Click Import tab, then click Browse button and select the SQL file.
  3. When you are done selecting the file, click GO button at the bottom of the page. You will see a message saying “Import has been successfully finished, XXX queries executed”.
  4. Refresh the page and check your site. You can see the content on the site now.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.