Saturday, April 18, 2015

mongo shell

http://docs.mongodb.org/manual/reference/mongo-shell/

http://docs.mongodb.org/manual/reference/method/#js-administrative-methods

db.auth("admin","your password")


db.runCommand( { replSetGetStatus : 1 } )

No comments:

Post a Comment