After spending an hour trying to pass the ‘create first application user lab’, I wanted to share some hints to others having difficulty.
The mongod daemon is already running in the back ground on port 27000. You must login with the correct port:
mongo --host 127.0.01:27000 -u “m103-admin” -p “m103-pass” --authenticationDatabase “admin”
The instructions do not mention it, but you should create the user on the ‘admin’ database.
show dbs
use admin
Then createUser(). After the ‘Successfully added’ message, click ‘run test’ button.
Hope it helps
Bryon