I recently installed mongodb-2.6.0 with Homebrew. After successfully installed, I tried to connect using the mongo command. I am receiving the following errors
mongo
My guess is that you do not have a running database while trying to access testing through the "mongo" command. First run this command in terminal:
My guess is that you do not have a running database while trying to access testing through the "mongo" command.
First run this command in terminal:
mongod
Then open another terminal window and run:
Everything should be working now.