HostGator Web Hosting Help

How To Copy A Database Using PHPMyAdmin

This tutorial will demonstrate how to copy or duplicate a database in phpMyAdmin.

Begin by accessing phpMyAdmin via cPanel .

  1. Select the database you wish to copy (by clicking on the database from the phpMyAdmin home screen).
  2. Once inside the database, select the Operations tab.
  3. Scroll down to the section where it says "Copy database to:"
  4. Type in the name of the new database.
  5. Select "structure and data" to copy everything.  Alternately, you can select "Structure only" if you want the columns but not the data.
  6. Check the box "CREATE DATABASE before copying" to create a new database.
  7. Check the box "Add AUTO_INCREMENT value."
  8. Click on the Go button to proceed.

If you click on the home icon, you will notice your new database listed in the left column.  If you go inside, you will see the database is a copy of the previous database.



Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 780,926 views tags: database mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 187,987 views tags: Plesk cpanel databases mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 374,921 views tags: commands database mysql phpmyadmin

Related Help Content

A step by step guide on how to manipulate data in your mySQL tables using phpMyAdmin
Knowledgebase Article 198,530 views tags: databases mysql phpmyadmin

This article will show you how to rename a database table in phpMyAdmin.
Knowledgebase Article 321,877 views tags: databases mysql phpmyadmin

Step by step directions on how you can search your database using phpMyAdmin
Knowledgebase Article 184,357 views tags: Plesk cpanel databases mysql phpmyadmin

A guide on performing a standard SQL query using the phpMyAdmin interface
Knowledgebase Article 190,989 views tags: databases mysql phpmyadmin

This article will walk you through the steps to copying and renaming a database with phpMyAdmin.
Knowledgebase Article 160,972 views tags: database phpmyadmin

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 872,977 views tags: creation database mysql

How to Restore your MySQL Database?
Knowledgebase Article 383,250 views tags: admin database mysql php phpmyadmin restore

Instructions on adding a column to your database in phpMyAdmin
Knowledgebase Article 206,290 views tags: databases mysql phpmyadmin