Reputation: 2457
I am using PhpStorm editor with mongoDB plugin, I was wondering what should be the mongodb server url,so I could monitor my mongoDB's activities directly from PhpStorm
Upvotes: 1
Views: 685
Reputation: 622
It depends if you set MONGO_URL
. If you run meteor
locally with out setting MONGO_URL
try
mongo localhost:3001/meteor
If you have deployed your app to meteor.com
try
meteor mongo yourapp.meteor.com --url
This will return the MONGO_URL
so that you can monitor/backup/restore your DB. Eg
mongodb://[email protected]:27017/yourapp_meteor_com
Upvotes: 3
Reputation: 1279
When running MongoDB using the meteor command line you can access the database at localhost:3001. The database name is meteor and there is no need for credentials.
Upvotes: 1