I know next to nothing about mysql, but does it have some sort of bulk data loading utility? If so, you could use that to insert directly into your database. Create a bunch of delimited files and away you go...
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come