You may use the mysqldump-tool (linux-box) to transform your database into an ascii-file
within "create table.." and" insert value into.."-syntax
(or better, use the phpMyAdmin-tool with the "View dump (schema) of database"-button plus the
"send" checkbox).
Then, edit it and reimport it somehow like
"mysql [some options about the database] > textfile" on the console (sorry, i dont have
the exact syntax yet) or again with the phpMyAdmin using
the "Run SQL query/queries on Location of the textfile"
- Button.
Hope it helps.