Answers for "mongodb create root user"

1

mongodb create root user

use admin

db.createUser(
{
    user: "root",
    pwd: "password",
    roles: [ "root" ]
})
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language