mysql test code