Meteor – Connect to the app local MongoDB in command line

1. Start the meteor app.

2. Open another shell and connect to the app database which is also called meteor.

  • mongo 127.0.0.1:3001/meteor

3. Check if you could find the collections there.

  • show collections

meteor-connect-to-local-mongodb
 

Done =)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s