I’m having trouble on the last assignment of this module. It wants me to start up 3 replica sets of mongod which I can do just fine. It then wants me to sign in to local host which I can do. It then requires rs.initiate and takes me to the primary mongod replica. This is where I use the use admin command to swap dbs. I can then create the user it wants me to create using the createUser command and then I have to authorize using the same credentials I just created. When I attempt to authenticate it says authentication failed. I am using the exact same username and password so I have no idea what’s wrong.
the created username globalAdminUser is different than the auth globalUserAdmin caution!
Hi @Douglas_Sourile, we are glad that you were able to resolve it, and thanks for sharing the same. Happy Learning!
All the best.
Thanks & Regards.
Curriculum Services Engineer