How to use phpMyAdmin to copy a MySQL database

Copy MySQL database

To copy a MySQL database using phpMyAdmin, follow these steps:

  1. Log in to cPanel.
  2. In the DATABASES section of the cPanel home screen, click phpMyAdmin:

    The phpMyAdmin administration page appears in a new window.
  3. In the left pane, click the name of the database you want to copy.
  4. On the top menu bar, click Operations.
  5. Under Copy database to, in the text box type the name that you want for the new database.
  6. If you want to copy everything into the new database, select Structure and data. Alternatively, if you only want to copy the database structure, select Structure only, and none of the data will be copied.
  7. Select the CREATE DATABASE before copying check box.
  8. Select the Add AUTO_INCREMENT value check box.
  9. Click Go. phpMyAdmin creates a new database using the name you specified in step 5, and then does the copy operation. When it finishes, the new database appears in the list of databases in the left pane.
  • phpmyadmin, mysql, database
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to manage MySQL databases and users in cPanel

Managing database users To access MySQL databases, you must first create at least one user. The...

How to access phpMyAdmin and phpPgAdmin in cPanel

Accessing phpMyAdmin in cPanel Log in to cPanel. In the DATABASES section of the cPanel home...

How to configure remote MySQL access in cPanel

This article describes how to use cPanel to allow external hosts to access your MySQL databases....

How to change the MySQL collation settings in phpMyAdmin

About character sets and collation MySQL enables you to store and process data in a wide...

How to optimize and repair MySQL databases using phpMyAdmin

Optimizing MySQL databases Databases have the potential to grow very large, particularly on...

Powered by WHMCompleteSolution