HostMonster Web Hosting Help

How to copy a database in 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.

Knowledgebase Article 29,058 views bookmark tags: databases mysql phpmyadmin (updated 836 days ago)


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? (updated 3 days ago)
Knowledgebase Article 128,653 views tags: database mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface. (updated 835 days ago)
Knowledgebase Article 144,117 views tags: commands database mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin (updated 834 days ago)
Knowledgebase Article 35,331 views tags: Plesk cpanel databases mysql phpmyadmin

Related Help Content

Step by step directions on how you can search your database using phpMyAdmin (updated 836 days ago)
Knowledgebase Article 11,937 views tags: Plesk cpanel databases mysql phpmyadmin

A guide on renaming the tables inside of your database using phpMyAdmin (updated 18 days ago)
Knowledgebase Article 13,388 views tags: databases mysql phpmyadmin

A step by step guide on how to manipulate data in your mySQL tables using phpMyAdmin (updated 835 days ago)
Knowledgebase Article 39,844 views tags: databases mysql phpmyadmin

Instructions on changing the name of your database using phpMyAdmin (updated 836 days ago)
Knowledgebase Article 33,665 views tags: cpanel databases mysql phpmyadmin

Instructions on deleting tables from your database using phpMyAdmin (updated 836 days ago)
Knowledgebase Article 34,831 views tags: Plesk cpanel databases mysql phpmyadmin

A guide on performing a standard SQL query using the phpMyAdmin interface (updated 836 days ago)
Knowledgebase Article 15,390 views tags: databases mysql phpmyadmin

This article will walk you through the steps to copying and renaming a database with phpMyAdmin. (updated 3 days ago)
Knowledgebase Article 15,859 views tags: database phpmyadmin

Instructions on adding a column to your database in phpMyAdmin (updated 825 days ago)
Knowledgebase Article 64,420 views tags: databases mysql phpmyadmin