Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
MongoLab
*Location*: http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/administration/scripting/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: tutorial/write-scripts-for-the-mongo-shell
MongoLab *Location*: http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/administration/scripting/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: tutorial/write-scripts-for-the-mongo-shell
Description
Hi,
I believe you're missing docs for the db.auth() command. I had troubles executing scripts on my remote MongoDB instance until I found this post:
http://www.bennadel.com/blog/2530-getting-started-with-mongolab-and-the-mongodb-shell.htm
which told me about the db.auth() command.