db.createUser( { user: “admin”, pwd: “xxx”, roles: [ { role: “userAdminAnyDatabase”, db: “admin” } ], mechanisms : [“SCRAM-SHA-1”] }
db.createUser( { user: “admin”, pwd: “xxx”, roles: [ { role: “userAdminAnyDatabase”, db: “admin” } ], mechanisms : [“SCRAM-SHA-1”] }