Re: mongodb authentication

30 views
Skip to first unread message

William Zola

unread,
Oct 10, 2012, 2:14:23 PM10/10/12
to mongod...@googlegroups.com
Hi Yashu!

You should not be running the 'mongod' command from within the 'mongo' shell.  You need to run that from the OS command line.

 -William 

On Wednesday, October 10, 2012 5:06:49 AM UTC-7, yashu gupta wrote:
Hi ,

When I am running "mongod --auth" in my mongoshell . I am getting 

> mongod --auth
Wed Oct 10 17:26:10 SyntaxError: missing ; before statement (shell):1
>

please tell me the solution, version of mongo i am using is 2.0.7
Reply all
Reply to author
Forward
0 new messages