In this tutorial, we will show you how to import a database with phpMyAdmin. We assume that you’ve already logged into phpMyAdmin, if you are not logged in just follow the steps in this tutorial to login. We’ll assume that you have a new database and you wish to import a backup of an old database stored on your computer.
1) First, select the empty database:
2) Click on the “Import” tab and choose the database backup stored on your computer by clicking on the “Choose File” button.
3) Click “Go” after choosing the backup file to proceed with the import.
4) A message will appear indicating that your import has been successful and the database will be populated.