Home Databases How do I import a .sql file via phpMyAdmin?

How do I import a .sql file via phpMyAdmin?

Last updated on May 18, 2026

You can use phpMyAdmin to import an .SQL file with your database information. To do this:

  • Log in to your database via phpMyAdmin (https://cpanel.yourdomain.com > Manage Hosting > [select account if you have multiple accounts] > phpMyAdmin) , Or if you have one account, head directly to phpMyAdmin
  • Choose the database you want to import your .SQL file to from the left-hand side.
  • Click the Importtab at the top of the page.
  • Select Choose Fileand locate the .SQL file on your device or computer.
  • Click Go

The .SQL file will be uploaded and imported to the database you've selected.

MegabitCloud Web Hosting's shared web hosting offers 1 GB MySQL databases.