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 31,153 views bookmark tags: databases mysql phpmyadmin (updated 922 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 89 days ago)
Knowledgebase Article 156,827 views tags: database mysql phpmyadmin

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

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

Related Help Content

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

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

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

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

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

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

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

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