Haikal Nashuha
Haikal Nashuha

Reputation: 3048

How can I connect to local Meteor's mongodb

How can I connect to the local Meteor's local mongoDB? Fyi, I want to use robomongo as the client. Where can I get the authentication details etc?

Upvotes: 1

Views: 794

Answers (2)

pahan
pahan

Reputation: 2453

enter command meteor mongo in the project directory while you are running the project. it will connect to a mongo shell of the project where you can see the mongo url.

example:

$ meteor mongo MongoDB shell version: 2.4.9 connecting to: 127.0.0.1:3001/meteor

Upvotes: 1

Sasikanth
Sasikanth

Reputation: 3043

I'm using robomongo too

1) Just open robomongo,

2) Create new connection,

3)Give address localhost and port 3001

4) Click connect

Note: Meteor must be running to access the database

While you are creating new connection there is an authentication tab,there u can create username and password for db

Upvotes: 2

Related Questions