mysql data struct and test data