Change from my_sql to PDO