Has anyone got any tools/scripts etc. for getting the data dump into MySQL?

  • 2
    I have one :( But I'm not sure if I want to release my ugly code. Aug 13, 2009 at 16:41

4 Answers 4


I've got a script and schema for mysql that you can use if you are interested. The load script requires Ruby. I also split a tags out into their own table.

  • I was wondering this is up to date with the latest data dump? Apr 17, 2012 at 15:47
  • will this work for stackexchange dataset? Thank You. Nov 6, 2012 at 22:40
  • I know I have used your script in past but don't recall of this error: but I just recently tried and I am getting an error in badges.xml at <row Id="253861" UserId="74951" Name="Autobiographer" Date="2009-03-08T02:02:32.390" /> : Incorrect datetime value: '2009-03-08T02:02:32.390' for column 'created' at row 1 (Mysql::Error) Feb 8, 2014 at 19:14

Here is a windows app that will import to MySql,MS Sql and SQLite:



See also this (duplicate) answer asked yesterday.


The following is a project that can import all of the latest dumps (as of August 2014) into any relational database that supports JPA/hibernate. It is written in Java, but can also be used from the command line. Prerequisites are Java 8 and Maven.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .