Duplicating a MySQL table, indices, and data

前端 未结 12 1241
天涯浪人
天涯浪人 2020-11-27 08:42

How do I copy or clone or duplicate the data, structure, and indices of a MySQL table to a new one?

This is what I\'ve found so far.

This will copy the data

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 09:19

    Go to phpMyAdmin and select your original table then select "Operations" tab in the "Copy table to (database.table)" area. Select the database where you want to copy and add a name for your new table.

提交回复
热议问题