I have installed MongoDB on my Windows 7 (64 bit) machine. I have created the path data/db too but when I tried to start mongodb using the command 'C:\mongodb\bin\mongod.exe'
, it is not starting. It is showing admin web console waiting for connections on port 28017
.
Help me in starting the MongoDB. And also please suggest if any GUI is available for MongoDB.
You can start MongoDB from a command line by issuing the mongod command and specifying options. For a list of options, see the mongod reference. MongoDB can also run as a Windows service. For details, see Start MongoDB Community Edition as a Windows Service.
Installing and Running MongoDB on a Windows MachineDownload the MongoDB installer file from the downloads section of the MongoDB website. Find the dowloaded . msi file in the Windows Explorer. Double click the file and follow the prompts to install Mongo.
Download the mongodb
C:\data\db
cd
to C:\Program Files\MongoDB\Server\3.2\bin>
mongod
27017
localhost:27017
Your MongoDB is started and connected with RoboMongo (now Robo 3T) - a third party GUI tool
This worked for me
mongod --port 27017 --dbpath C:\MongoDB\data\db
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With