Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
4 views
in SQL by (29.3k points)

I am trying to setup Mongo db on my windows desktop. I have downloaded the below file :mongodb-win32-x86_64-2012plus-4.2.0.zip from www.mongodb.org/downloads. When trying to run the command from windows power shell , i am getting an error(attached error file). Could you please suggest what am i doing wrong and what needs to be done in order to resolve the same.

1 Answer

0 votes
by (50.2k points)

For this issue, Search for your MongoDb installation bin folder and copy the path (e.g.: C:\Program Files\MongoDB\bin) Right click My Computer > Properties > Advanced system settings > Environment Variables > System variables > Look for "Path" > Edit > New > Paste in the path to your Mongodb bin folder > Restart your terminal

Related questions

0 votes
2 answers
0 votes
2 answers
0 votes
2 answers

Browse Categories

...