Loading...

Knowledge Base
Save up to  70% off.  Start your website today!

Exporting a MySQL Database via phpMyAdmin

How can I export a database?

Similar to importing databases, there are many ways to export your MySQL databases. This article will discuss instructions for exporting a database, also known as a database dump.


How to access phpMyAdmin in your control panel

Once a database is created, you can access it via your hosting account's control panel.

cPanel

  1. Log in to cPanel.
  2. Look for the Databases section, then click the phpMyAdmin icon.

    cPanel - phpMyAdmin

  3. A list of available databases will be displayed once you expand the username on the top left-hand side of the phpMyAdmin homepage.

    cPanel - phpMyAdmin's Interface

Plesk

  1. Log in to Plesk.
  2. Click on Website & Domains from the left-hand menu.
  3. Click on Databases in the list of functions on the right. Alternatively, you can also click Databases from the left-hand menu.

    Plesk - Database menu

  4. Locate the database name you wish to access.
  5. Click on phpMyAdmin under your database's list of functions.

    Plesk - phpMyAdmin

  6. You will then see a list of available databases in your control panel.

    Plesk - phpMyAdmin's Available Databases


How to export a database

There are many ways on how to export a database.

via phpMyAdmin

  1. Select an existing database in phpMyAdmin.
  2. Click the Export tab on the top menu.

    phpMyAdmin - Export Feature

  3. The Quick radio button is selected by default.

    phpMyAdmin - Quick Radio Button

  4. Scroll down and click Go.
  5. This will download a .sql file into your computer. Depending on the database's size, the downloading may take some time.

More in-depth instructions, including explanations of different options on the export screen, can be found in the video below.

via cPanel's Backup

Alternatively, you can also use the Backup feature of your cPanel, as demonstrated in the video guide below.

  1. Log in to the cPanel.
  2. Look for the Files section, then click the Backup icon.

    cPanel - Backup Feature

  3. Scroll down the Backup page and locate Download a MySQL Database Backup.
  4. Click the database name you wish to generate a backup for.

    cPanel - Backup - Select your Database

  5. Your database will start downloading to your computer.

Video Tutorial

This video shows how to export data from your MySQL database using phpMyAdmin. A link to phpMyAdmin can be found in your HostGator control panel (cPanel or Plesk, depending on your hosting package).

The directions in the video may differ slightly from the directions listed in this article. Additional directions not found in the video on how to get to phpMyAdmin for cPanel and Plesk users are listed above.

Notes and Concepts

For the video tutorial, we are connected to phpMyAdmin using the root MySQL user. When connecting as a different user, some options may be disabled, depending on the server's configuration and the specific privileges granted to the user by the system administrator.

On systems with Plesk, the master MySQL user is the admin user instead of the root.

Like HostGator's servers, many systems are configured with control panel software installed to delegate the administration of the account on the server. Whenever possible, it is recommended you use the controls within the control panel itself for certain tasks (such as the creation of databases, creation of users, management of user privileges, etc.) instead of phpMyAdmin. Performing these tasks outside the control panel without full knowledge of how to work around them can produce undesirable results in the operation of the control panel software.

Please note that on Linux-based systems, database names, database users, table names, and column names are case-sensitive, whereas on Windows-based systems, they are case-insensitive.

 

Did you find this article helpful?

 
* Your feedback is too short

Loading...