I freshly created a new meteor (1.2.1) project like this (on a Debian 7.7) but I'm not able to enter the mongo terminal:
$ meteor create test
$ cd test
$ meteor run
[[[[[ ~/test ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
and in a new terminal:
$ meteor mongo
mongo: Meteor isn't running a local MongoDB server.
This command only works while Meteor is running your application locally.
Start your application first with 'meteor' and then run this
command in a new terminal. This error will also occur if you asked Meteor to
use a different MongoDB server with $MONGO_URL when you ran your
application.
If you're trying to connect to the database of an app you deployed with
'meteor deploy', specify your site's name as an argument to this
command.
Yes it is running a local MongoDB server!!
What's wrong here, what shall I do?
$MONGO_URL is empty btw. mongodb is installed, though, but not used (only need mongodump and mongorestore to connect to meteor's mongo).
Thanks
meteor runcommand (e.g.Cmd-C) before runningmeteor mongo? If so this doesn't work, as at that point meteor is not running. You need to runmeteor mongoin a new terminal whilemeteor runis still executing. Otherwise, check whatecho $MONGO_URLshows. - JeremyK