You can also use phpmyadmin to dump a MySQL database, which the puts the CREATE INDEX statements after all the data tables.