Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

Renaming, Moving, and Copying Tables


The Rename operation is the easiest to understand: the table simply changes its name and stays in the same database.

The Move operation (shown in the following screen) can manipulate a table in two ways: change its name and also the database in which it is stored:

Moving a table is not directly supported by MySQL, so phpMyAdmin has to create the table in the target database, copy the data, and then finally drop the source table.

The Copy operation leaves the original table intact and copies its structure or data (or both) to another table, possibly in another database. Here, the book-copy table will be an exact copy of the book source table. After the copy, we will stay in the Table view for the book table unless we selected Switch to copied table.

The Structure only copy is done to create a test table with the same structure.

Appending Data to a Table

The Copy dialog may also be used to append (add) data from one table to another. Both tables must...