Change mysql for pdo