refs #4233 make sure value is either pdo or mysqli