reading to innoDB