Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Database  >  How to Import and Export the MySQL Database with phpMyAdmin?
Top Scroll

How to Import and Export the MySQL Database with phpMyAdmin?

 4 min

Watch this video for a step by step process of importing and exporting the MySQL database with phpMyAdmin

Importing and exporting your database is a significant skill which you need to have. Data dumps can be used for backup and restoration purposes so that older copies of your database can be recovered during emergency or those can be used to migrate data to a new server or development environment.

Database dumps in MySQL can be managed in a simple way. phpMyAdmin makes it easy and more efficient to manage the MySQL databases and also enables you to manage those available databases from any location. The ability of phpMyAdmin to import and export databases also helps to recover from any disaster and migrate a database from one server to another.  Also, as the import and export process occurs through a database, you don’t need to sit in front of the server for recovering your database.

You can export and import your database in the below formats with phpMyAdmin:

  • SQL
  • CVS
  • CodeGen
  • CVS for Microsoft Excel
  • Microsoft Word 2000
  • JSON
  • LaTeX
  • MediaWiki Table
  • OpenDocument Spreadsheet
  • OpenDocument Text
  • PDF
  • PHP Array
  • Texy! Text
  • YAML

How to Export Your MySQL Database using phpMyAdmin?

  • Login to your cPanel account and click on phpMyAdmin icon under the Databases.

phpMyAdmin min 300x138

  • On the left-side, click on the database you working with.

Database min 300x148

  • Next, click on the Export tab at the top.

Export min 300x148

  • You will see two options – Quick and Custom. Since we are providing you information on quick export, please click on Quick – display only minimal options. For Custom method, you need to have complete knowledge of exporting MySQL databases.

Export Method min 300x148

  • After this, you will need to choose the format in which you want your database to be exported. So, select the one from the list below.

Format min 300x146

  • Next, click on Go.

Go min 300x145

  • You will be asked to either open or save the file. Here, you need to select save the file and save it to somewhere you will remember.

That’s all! You are done with exporting the copy of your database.

How to Import Your MySQL Database using phpMyAdmin?

  • Login to your cPanel account and click on phpMyAdmin icon.

phpMyAdmin min 1 300x138

  • Select the database you want to work with from the left-side.

Database min 300x148

  • Click on Browse under the File to Import section and select the backup file you have created.

File to Import min 300x148

  • Next, select the format in which you want to import the database.

Format Import min 300x137

  • Then click on Go at the bottom left.

Go min 300x145

  • After the database is imported successfully, you will see a message at the top of the page as: Import has been successfully finished, ## queries executed.

Congratulations! You have successfully completed the process of exporting and importing the MySQL database using phpMyAdmin.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.