Is there some way to get phpMyAdmin to spit out the SQL needed to duplicate the table in another DB?
I saved it when I initially made the table but I’ve changed it quite a bit since then. It’s a pretty big table and this would really help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you can navigate to the table you want and then go to (tab) Operations > Copy table to (database.table):, which is a box on the right hand side. There you can define into which database and under what name you’d like to copy your table. After having done than you get the SQL “spat out”.
As I’m not completely sure about your question, if you’d like to have the table in a dump file, you could alternatively click the tab Export, where you can get the SQL as well, or download the dump file straight away.