• Home
        • Database Development

          Database development is designing, creating a database or data model, and analyzing requirements and their intents as raw data.

          Learn More
        • Architecture & Design

          Software architecture refers to the fundamental structures of a software system and the discipline of creating such structures and systems.

          Learn More
        • Programming

          Computer programming is the process of performing a particular computation or more generally, accomplishing a specific result.

          Learn More
        • Cloud Computing

          Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power.

          Learn More
        • ETL Development

          ETL provides the foundation for data analytics and machine learning workstreams. Through a series of business rules, ETL cleanses and organizes data.

          Learn More
        • Data Visualization & Reports

          Data and information visualization is an interdisciplinary field that deals with the graphic representation of data and information.

          Learn More
  • Blog
  • Contact

Duplicate MySQL Table Using phpMyAdmin

There are many reasons for creating copies of existing relational database tables. Sometimes you create duplicate tables for the purposes of table backup or for application testing purposes.  Whatever your reasons may be, you will notice that different relational database integrated development environments (IDE) implement table duplication differently.

I would like to demonstrate how duplication of a MySQL table can be achieved using phpMyAdmin. I was introduced to phpMyAdmin by my current website hosting provider as part of a content management system (CMS) package that I had signed up for. I’ve found phpMyAdmin to be an effective application for managing my website’s MySQL databases. The steps for doing all of this are quite simple:

Step 1: Login into your instance of phpMyAdmin and navigate to the Operations menu tab. You will notice that you are presented with several options underneath this menu tab – the one we are interested in is at the bottom right with a heading as “Copy table to (database.table):“.
"1"

Step 2: Select the database and table that you want to be duplicated. There are also additional options that you can choose i.e. do you want to duplicate the table’s structure only or do you want both structure and its content?
"2"

Step 3: Finally, when you are done with your selections, press Go and you will receive a confirmation message box upon the completion of the duplication operation. As it can be seen below – I have successfully duplicated select SIFISO table into select SIFISO Bak table.
"3"

It’s that simple, folks!
Until next time, Cheers.
Sifiso

CodeProject

Loading

Sifiso

October 14, 2022
Sifiso is Data Architect and Technical Lead at SELECT SIFISO – a technology consulting firm focusing on cloud migrations, data ingestion, DevOps, reporting and analytics. Sifiso has over 15 years of across private and public business sectors, helping businesses implement Microsoft, AWS and open-source technology solutions. He is the member of the Johannesburg SQL User Group and also hold a Master’s Degree in MCom IT Management from the University of Johannesburg.

Meet Our Experts

We are proud to have a team of experts who are passionate about delivering the best possible solutions to you. Our team members are highly skilled and experienced in a diverse range of IT technologies, and are committed to staying up-to-date with the latest industry trends and best practices to deliver you the best results.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Join Our Newsletter

Subscribe to get our latest and best thinking on the most definitive workforce topics affecting HR leaders and organizations today.