Issue with installation of Mongo DB on Windows 8.1

隐身守侯 提交于 2019-12-01 20:44:10

问题


I am trying to install Mongo DB on a windows 8.1 64 bit machine and I a getting the following error.

C:\MongoDB\bin>mongo.exe

MongoDB shell version: 2.4.7 connecting to: test Tue Nov 19 14:50:02.652 Error: couldn't connect to server 127.0.0.1:27017 at src /mongo/shell/mongo.js:145 exception: connect failed


回答1:


Use this link. I also faced lot of problems when installing.But before found this link.




回答2:


Make sure you have the daemon process running. You start it via mongod.exe. You are running the client side and by default connecting to port 27017 - the default mongo instance. Check your running processes for mongod first!




回答3:


Make sure to unclick the download compass section when you download the shell. As soon as I unclicked it I was able to install the Mongodb shell. Hope this helps - I was stuck with this problem for a long time.



来源:https://stackoverflow.com/questions/20061809/issue-with-installation-of-mongo-db-on-windows-8-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!