cwncool Posted February 25, 2007 Share Posted February 25, 2007 I already have a script set up to use a database on my server. It has two tables. I want to get the SQL to recreate those tables, empty though, so I can run it on another server. Do I have to do this manually, or is there something in phpMyAdmin where I can get the query to make those tables again? Thanks! Link to comment https://forums.phpfreaks.com/topic/40081-getting-query-to-recreate-database-tables-in-phpmyadmin/ Share on other sites More sharing options...
magnetica Posted February 25, 2007 Share Posted February 25, 2007 Not sure what you mean by this. But if I do understand correctly then either: 1) Manually re-create the table/s 2) Export the table and import it again then just empty it Link to comment https://forums.phpfreaks.com/topic/40081-getting-query-to-recreate-database-tables-in-phpmyadmin/#findComment-193893 Share on other sites More sharing options...
severndigital Posted February 25, 2007 Share Posted February 25, 2007 just do an 'SQL dump' or export. you can export the information to a file and then upload that file to the new database Link to comment https://forums.phpfreaks.com/topic/40081-getting-query-to-recreate-database-tables-in-phpmyadmin/#findComment-193894 Share on other sites More sharing options...
cwncool Posted February 25, 2007 Author Share Posted February 25, 2007 Okay. Thanks. Link to comment https://forums.phpfreaks.com/topic/40081-getting-query-to-recreate-database-tables-in-phpmyadmin/#findComment-193897 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.