On windows 10
λ mongo “mongodb+srv://mflix-mfz3r.mongodb.net/test” --username m220student
MongoDB shell version v4.0.3
Enter password:
connecting to: mongodb+srv://mflix-mfz3r.mongodb.net/test
Implicit session: session { “id” : UUID(“893aeace-ef1e-4b37-84c7-0ed76331f7fd”) }
MongoDB server version: 4.0.9
2019-05-15T17:32:02.547+1000 E QUERY [js] Error: Authentication failed. :
DB.prototype._authOrThrow@src/mongo/shell/db.js:1685:20
@(auth):6:1
@(auth):1:2
exception: login failed