"C:/MongoDB\bin\mongod.exe" -dbpath "C:\MongoDB\mongo db data"
![start mongodb windows 10 start mongodb windows 10](https://www.journaldev.com/wp-content/uploads/2014/11/MongoDB-Windows-Service.png)
If your path includes spaces, enclose the entire path in double quotes "C:\MongoDB\bin\mongod.exe" -dbpath C:\MongoDB\data C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe here we are using MongoDB installation folder as C:\MongoDB\ and if have used default folder MongoDB required Directory to store all database to set that directory Create Datafolder inside c:/mongodb or you can specify any folder of your choice and preference or MongoDB will use \data\db inside your MongoDB Installation.When you’re installing MongoDB, please select c:/mongodb as direcotry for easier access and future usesīefore installing mongodb windows service, we will set up MongoDB environment as follows: If you haven’t installed MongoDB on your Windows Pc please Go to the Official website of MongoDB and download the latest setup file 32bit or 64 bit according to your pc architecture.Now let’s start how we can install mongodb windows service. In this article, You will learn to Setup, config, start and run MongoDB As a Service in Windows PC to be precise Windows 10 64bit and 32 bit, Windows 7 64bit and 32 bit. MongoDB king of NoSQL databases, check out Introduction to MEAN Stack article to know why.
#Start mongodb windows 10 how to
Today we will learn How to Setup and run MongoDB windows service continuing our MongoDB Development Tutorials series.