Can I ask whats wrong with this one? Having a hard time to figure it out, I tried to use these two:
db.changeUserPassword( “readWriteInventoryUser”, { roles: [ {role: “readWrite”, db: “admin”}], pwd : “6c%dbe&7dc!ee1#d”, mechanisms : [“SCRAM-SHA-1”], } )
db.updateUser( “readWriteInventoryUser”, { roles: [ {role: “readWrite”, db: “admin”}], pwd : “6c%dbe&7dc!ee1#d”, mechanisms : [“SCRAM-SHA-1”], } )