[DOCS-2969] Comment on: "manual/tutorial/getting-started.txt" Created: 22/Mar/14  Updated: 03/Nov/17  Resolved: 24/Mar/14

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

macosx 10.9.2 , install with homebrew

Location: http://docs.mongodb.org/manual/tutorial/getting-started/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1898.0 Safari/537.36
Referrer: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Screen Resolution: 2560 x 1440
repo: docs
source: tutorial/getting-started


Participants:
Days since reply: 9 years, 47 weeks, 2 days ago

 Description   

The OSX startup instructions are unclear as written. Other people on stackoverflow were confused too.

I installed with homebrew:
brew install mongo

then started server:
mongod --config /usr/local/etc/mongod.conf [12:44:10]
all output going to: /usr/local/var/log/mongodb/mongo.log

then in a new terminal window:
mongo
(connecting to test)
use dbname
(switches to dbname)
db.messages .insert(

{message: 'Hello Mongo'}

)
(creates collection and document if does not exist)
show collections //to see the results
(lists collections
messages system.indexes)



 Comments   
Comment by Sam Kleinman (Inactive) [ 24/Mar/14 ]

I don't understand the source of the confusion based on this information.

Generated at Thu Feb 08 07:44:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.