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
To duplicate a table and its structure without data from a different a database use this. On the new database sql type
CREATE TABLE currentdatabase.tablename LIKE olddatabase.tablename