Most WordPress hosts, including Kinsta, have automated backups which allow you to restore in case of an emergency. However, there might be times where you need to restore and or upload your own MySQL database manually. This could be because your migrating hosts or perhaps you want to do some local development. In any case, you can follow this quick and easy tutorial below on how to restore mySQL database using phpMyAdmin.

How to Restore MySQL Database Using phpMyAdmin

How to Restore MySQL Database Using phpMyAdmin

phpMyAdmin is a free open source tool available via your browser that is used to handle administration of MySQL or MariaDB. It can be used for all sorts of different operations, such as migrating databases, managing tables, indexes, and executing SQL statements. Today we are going to simply restore a WordPress mySQL database with phpMyAdmin.

Note: This tutorial assumes you already have a backup or exported *.sql file for which you will import. If not, see our tutorial on how to backup your mySQL database with phpMyAdmin.

Step 1

Login to phpMyAdmin. With Kinsta, we have an easy to access link to login to phpMyAdmin from within the MyKinsta dashboard. Depending on your WordPress host, this could also be located in your cPanel account.

login to phpmyadmin

Step 2

Click into your WordPress database. Most likely the name will correspond with the name of your site.

phpmyadmin wordpress database

Step 3

Click on the “Import” tab and then on “Choose file.” Select your *.sql file backup/export. And then click on “Go.”

Important! Importing your *.sql file will overwrite the current contents of your database. If you are not comfortable doing this, please check with a developer first.

mysql db restore import

Haven't Found What You Need?

Head back to the knowledge base or open a support ticket

Back To The Knowledge Base Open A Support Ticket
grow traffic wordpress

Use WordPress?

Join 10,000+ others who get our FREE weekly newsletter with WordPress tips on how to drive more traffic and revenue to your business!

redirect=/welcome/