Soham Krishna Paul
Soham Krishna Paul
Node JS Developer PHP Developer React-Native Developer React JS Developer Web Developer
Soham Krishna Paul

Blog

How do I start Mongo DB from Windows?

How do I start Mongo DB from Windows?

Create MongoDB Service in Windows. First Open cmd with administrator

mongod --port 27017 --dbpath "a mongodb storage actual path e.g: d:\mongo_storage\data" --logpath="a log path e.g: d:\mongo_storage\log\log.txt" --install --serviceName "MongoDB"

After that

Start Service

net start MongoDB

Stop Service

net stop MongoDB

Add Comment