How do I import a MySQL database?

I have a backup of my database that I need to import/transfer to my new account.



- Once you have your .sql file you will need to log into your cPanel at www.yourdomain.com/cpanel

- Click on 'phpMyAdmin' under the 'Databases' menu

- A drop down of your databases is displayed on the left side of the page, select the database you would like to import to.

- This will create some tabs at the top of the screen, click on 'SQL'.

- This opens a text box and 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.

  • 28 Users Found This Useful
Was this answer helpful?

Related Articles

How do I create a MySQL database?

- Login to your control panel at www.yourdomain.com/cpanel - Click on 'MySQL Databases' in the...

How do I restore a MySQL database?

- Login to your control panel www.yourdomain.com/cpanel - Click on 'Backups' in 'Site...