I've tried to start my mongos instance with access control using the --auth option but I get Error parsing command line: unrecognised option '--auth'. How do I require authentication to connect to the mongos instance?

edit: I'm using mongos --configdb config/ --bind_ip= --fork --syslog to start mongos

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.