How do I access Meteor's MongoDB from another client, while Meteor is running?


Question

I would like to access Meteor's MongoDB from a Python client, while Meteor is running.

I can't start a mongod because Meteor's database is locked.

How do I access the database from another client?

1
54
4/5/2015 12:52:15 PM

Accepted Answer

Use the Meteor deployment instructions

The command will look like this:

   PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp node bundle/main.js
6
4/24/2012 8:16:57 AM

The meteor command provides a clean way. To get the URL for the running mongod:

meteor mongo -U

which you can parse from python.


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon