make work with newest mysql module