How to copy a database table in phpmyadmin


This tutorial is going to teach you how to copy a database table with phpMyAdmin setup. For the purposes of the tutorial, we will assume that you are logged into phpMyAdmin already. We are going to use a database with one table for an example in this tutorial. The phpMyAdmin page is divided into two main parts. The left blue screen is where you will find your database listed, with any tables of that database listed below it. The right hand side is a large white screen, where the actions take place.

Let’s learn how to copy a database table with phpMyAdmin. Select the database table you wish to copy by clicking on it. This will bring up all the table details in the right hand screen. From the menu at the top of the screen, select and click on the Operations button. This will bring up a page of different operations you can perform on a table. If you scroll down the page, you will see a box called “Copy table to (database.table).” When you are copying a table, you can choose to copy one of three ways. You can copy the table structure only, copy the data only, or you can copy both the table structure and data. This is where you will find your three copy options. Select one of the options.

Copying a table actually creates a new table altogether that is identical to the one that we are copying. So now we need to give a name to the new table. Enter the name for the new table in the box, in the blank field. When you are done, click Go.

A new screen will open in the right hand window. It will confirm that the copy was successful, and what the name of the copy is. The copied table will now be showing in the left hand window, below the database, as a second table with the new name. This is the end of the tutorial. You know how to create a copy of a database table using phpMyAdmin setup.

Advertisements

4 thoughts on “How to copy a database table in phpmyadmin

  1. Pingback: How to delete fields from a database tables using phpmyadmin | DMM

  2. Pingback: How to export databases and tables using phpmyadmin | DMM

  3. Pingback: How to modify fields in database tables using phpmyadmin | DMM

  4. Pingback: http://www.blackhatlinks.com/faq.php

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s