fix mysql drv string val err. shoud be ok for others?