20 September, 2018
$MongoDB/binto Windows environment variable, so that you can access the MongoDB’s commands in command prompt easily.
d:\mongodb\mongo.configNote: MongoDB need a folder (data directory) to store its data. By default, it will store in “
C:\data\db“, create this folder manually. MongoDB won’t create it for you. You can also specify an alternate data directory with
Aspired to become an MongoDB? Explore the post to discover the know-hows on MongoDB.
mongod.exe --config d:\mongodb\mongo.configto start MongoDB server.
mongo.exeto connect to the started MongoDB server.
--install. A Windows service named “MongoDB” is created.
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .