I’m newbie about node.js and mongodb.
I have already installed mongodb, but I can’t connect to mongodb.
This is my error:
Huys-MacBook-Pro:~ huy$ mongo
MongoDB shell version: 2.0.2
connecting to: test
Tue Jan 3 17:12:01 Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84
exception: connect failed
MongoDB is not running, and I have a wild guess that your mistake is this one: Trouble installing mongodb using Homebrew
Create the path
/data/dband then try to start MongoDB again. (runmongod)