Duplicate a table in MySQL

 

Very simple!

Log on to your MySQL instance, and select the DB you table is in;

Create the new table with the same structure as your source;

Then copy all the content from your original table into your new one;

You’re all done !

Easy right !?

JohnyLuky has written 54 articles

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">