Last Chapter M150 - Database Internal Authentication

  1. Authenticate as the globalAdminUser.
db.createUser(
   {
     user: "globalAdminUser",
     pwd: "5xd49$4%0bef#6c&b*d",
     roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
   }
)
db.auth( "globalUserAdmin", "5xd49$4%0bef#6c&b*d" )

doesn’t work with issue :

Error authentication failed

The user name

is not the same as

1 Like

What a shame for me!
In France, it was late after work, I slept there …:wink:

Thanks a lot Steeve

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.