How to Deal With “No Database Selected” Error. Importing SQL Files

From this tutorial you’ll learn how to deal with No Database selected error which sometimes appears when importing SQL files.

Importing SQL Files
  1. In phpMyAdmin you can view the list of the databases on the left. Click on one of the databases in order to select it.
  2. Click on Import tab on the top of the phpMyAdmin panel and browse the necessary SQL file from your hard drive.Then click Go button to start importing database tables.“No Database selected” error
  3. Open your browser and navigate to your website page. You need to refresh it to see the changes.

Was this helpful?