How to import a database using phpMyAdmin
phpMyAdmin allows you to import SQL files into your database.
Before you start
- Create the database first if it does not already exist.
- Make sure you have a recent backup.
- Check that your SQL file is not larger than the upload limit.
Steps
- Log in to cPanel.
- Open phpMyAdmin.
- Select the database from the left menu.
- Click the Import tab.
- Choose your SQL file.
- Click Import.
If the import fails
Large databases may need to be imported in smaller parts or through command line access if available. Contact support with the error message.