Google News
logo
MongoDB - Interview Questions
Explain the procedure of starting the MongoDB server/ instance?
To start a MongoDB instance, follow the steps as below :
 
* First, open the command prompt and run mongod.exe.
* Alternatively, you can move to the path where MongoDB is installed, for example, “C: MongoDB
* Navigate to the bin folder, locate the mongod.exe and double click the same to execute it.
* You can also navigate to the required folder, for example, “C: MongoDB/bin” and type mongo to connect MongoDB through the shell.
Advertisement