Reputation: 11
there are only mongodb packages for linux and mac Does anyone know where to find mongodb package for windows . If so then can u post me the link
Upvotes: 0
Views: 1479
Reputation: 101
As I know anaconda is a package for the IDE/Text editor, that help you for code faster is not a package manager for dev, they package are for perform it's own platform.
If you want to use mongo DB in windows you need download mongodb
https://www.mongodb.com/download-center?jmp=nav
then just install pymongo using pip
pip install pymongo
and that's all just run mongo from command line.
Upvotes: 0
Reputation: 2784
Create a mongodb config file inside the folder where MongoDB was installed and type the following:
dbpath=D:\mongodb\data
logpath=D:\mongodb\log\mongo.log
diaglog=3
Open CMD and navigate to the place where mongod got installed, navigate to the bin
folder. Type mongod --config D:\mongodb\mongo.config
to start mongodb server.
Then type mongo
to enter mongodb interactive shell.
Upvotes: 1