I would like a PHP script to read the contents from a CSV file in the following format
id, sku 1,104101 2,105213
there are a total of 1486
Goblyn27 is correct. Take a look at fgetcsv() and mysql_query() on php.net. There are even examples in the docs for how to do this.