fixed mysql pdo adapter