Answers for "enable passward and user in mongodb community"

-1

mongodb add admin user

use admin
db.createUser({
  user: "username",
  pwd: "password",
  roles: [ "root" ]
})
Posted by: Guest on July-17-2020

Code answers related to "enable passward and user in mongodb community"

Code answers related to "Javascript"

Browse Popular Code Answers by Language