MySQL migration part 1: database population