Started move to PDO from deprecated mysql.