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,504 views bookmark tags: databases mysql phpmyadmin (updated 856 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 23 days ago)
Knowledgebase Article 131,076 views tags: database mysql phpmyadmin

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

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

Related Help Content

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

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

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

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

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

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

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

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