import data into mongodb databse from .csv file in windows
The primary mistake people do is try to import the csv file by issuing the mongoimport command while they are inside mongo Shell. The correct way of doing it is outside mongo shell. And ensure that you have the binary that you are trying to execute. In this case it is "mongoimport".