make mysql test program run,but still many things to explore