add support to handle various mysql vendors