How do I import a MySQL database using phpMyAdmin?

In the cPanel you will find an Icon labeled MySQL Databases.
(If you have not created the database you will need to do this.)

At the bottom of the screen in MySQL Databases you will see an option for phpMyAdmin , click on this.

  • Once in phpMyAdmin you will see on the left side a drop down of your databases, select the database you would like to import to.
  • This will create some tabs at the top of the screen, click on Import. After clicking on Import you will see a file upload option.
  • Click browse on the file upload option and find your .sql file.
  • After you have selected the file click GO and it will import your database.

All sql-statement will be executed and you will get a notification after the file is processed.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How do I export a MySQL database using phpMyAdmin?

Open phpMyAdmin and select the database from where you want to export data and/or structure. Go...

MySQL Database Troubleshooting

Troubleshooting "Cannot connect to the database" errors... Here are a few initial things (common...

How do I backup MySQL databases in cPanel?

MySQL databases can be backed up by doing the following:Go to 'Backup', in cPanel. Underneath...