Ok, I was able to get this working fairly easy, I was just using the wrong database settings. Looks like you also want to import your data into the wp database to make things work as well. Some basic DIE statements should be added to the script, but I’m guessing it hasn’t been a problem, since I’ve only seen a few mentions of this around.