Quantcast
Channel: Mongodb error in localhost windows - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Rahul Kamboj for Mongodb error in localhost windows

$
0
0

mongod direct command contain some by default parameter

mongod --dbpath=C:\data\db\   --port=27017

so create a folder data in c then create a db folder in that then run the command

mongod

your server will be in running state now connect to it using

mongo --port=27017    

this will work for you if problem then comment


Viewing all articles
Browse latest Browse all 2




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>