What is the fastest way to dump a large (> 1GB) XML file into a MySQL database?
The data in question is the StackOverflow Creative
Ok, I'm going to be an idiot here and answer your question with a question.
Why put it in a database?
What if ... just a what-if... you wrote the xml to files on local drive and, if needed, write some indexing information in the database. This should perform significantly faster than trying to load a database and would much more portable. All you would need on top of it is a way to search and a way to index relational references. There should be plenty of help with searching, and the relational aspect should be easy enough to build? You might even consider re-writing the information so that each file contains a single post with all the answers and comments right there.
Anyway, just my two-cents (and that is not worth a dime).