How to load a CSV file to MongoDB Atlas?

No video needed
If you look at your snapshot it shows Atlas Enterprise primary>
Type exit and hit enter.It will take you to os prompt ($,# etc)
Now run mongoimport command from os prompt

1 Like


but erorr

Try to enclose --file path in double quotes or do not use full path at all since file is located in bin directory
Just use --file your_filename

1 Like

thank you so much! I can do it

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.