Knowledgebase

Copying a database table with phpMyAdmin

For the purpose of this tutorial, we are going to use a database with one table as an example. We will assume that you are already logged into phpMyAdmin.

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.

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 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.

For additional assistance, contact us by submitting a support ticket.

Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Quick Navigation
Language:

Client Login:

Email

Password

Remember Me