Answer the question
In order to leave comments, you need to log in
MongoDB, users and their passwords. Not sure how to create them?
It is clear how to create collections, how to update and delete - it is also clear.
But I don’t understand how and where users are set with their passwords for accessing data.
If anyone knows, please describe.
Answer the question
In order to leave comments, you need to log in
db.addUser( { user: "Alice",
pwd: "Moon1234",
roles: [ "readWrite", "dbAdmin" ]
} )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question