Migrating for PDO Mysql connection