Export DB Tables via phpMyAdmin In Non-Alphabetical Order
Posted
by dosboy
on Stack Overflow
See other posts from Stack Overflow
or by dosboy
Published on 2010-06-05T19:36:58Z
Indexed on
2010/06/05
19:42 UTC
Read the original article
Hit count: 227
I have a MySQL database from a Joomla MultiSite installation where it has a set of tables with different prefixes for each Joomla site. When I export the db via phpMyAdmin it creates a SQL file where the tables are created and populated in alphabetical order. The problem is that the tables for the slave sites have dependencies on the tables for the master site, but alphabetically their prefixes are ahead of the master site. So the export works fine but when I try importing I get error after error and have to manually move sections around in the SQL file to make sure that the dependent tables are created/populated first.
So, is it possible to export a db via phpMyAdmin with the tables in a specific order?
© Stack Overflow or respective owner