0

MongoDB shuts down with Code 100

I followed the MongoDb Docs to set up my first MongoDB,
When I start MongoDB using the command

C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe

It shows the following error!
MongoDB shuts down with Code 100

levi
asked Oct 11, 2021
1 Answer
0

MongoDB needs a folder to store the database.
Create a C:\data\db\ directory:

`mkdir C:\data\db`

and then start MongoDB:
C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe

View More
linuxhelp
answered Oct 11, 2021
Your Answer
||||
 
100:0