Categories

“No Database selected” error during the SQL file import

Amina Freinger September 22, 2014
Rating: 5.0/5. From 3 votes.
Please wait...
“No Database selected” error during the SQL file import

This tutorial is going to show you how to fix “No Database selected” error that you can get after the SQL file import:

no_database_selected1

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:

    no_database_selected2
  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:

    no_database_selected3
  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.

This is the end of the tutorial. Now you know how to fix “No Database selected” error. Feel free to check the detailed video tutorial below:

“No Database selected” error during the SQL file import
This entry was posted in Hosting FAQ and tagged database, error, import, no, selected, SQL. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket