For the “Creating First Application User” lab, I realized I could do everything right but if I leave off
--authenticationDatabase "admin when starting up mongo I can create the user OK but on
use admin > db.shutdownServer() > exit I start to see connection refusals/failures and when I go back to run
validate_lab_first_application_user I get this:
Client experienced a timeout when connecting to the database - check that mongod is running on the correct port, and that the 'm103-application-user' user authenticates against the admin database.
I don’t recall
--authenticationDatabase being covered in any previous tutorials.