Fixed compatibility issue of mysql connector.