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 30,595 views bookmark tags: databases mysql phpmyadmin (updated 895 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 62 days ago)
Knowledgebase Article 154,053 views tags: database mysql phpmyadmin

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

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

Related Help Content

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

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

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

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

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

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

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

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