Not able to connect to mongo cluster, says authentication failed

This is my command - mongo “mongodb://,,” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basicsatlasAutherror

It is showing “Authentication Failed”.

Please re-check the credentials for the user m001-student from you Atlas account.


Can you guide me through it? Where should I check the credentials in my atlas account

Thanks Kanika,
I fixed it. I didn’t know I will have to create a m001-student user

1 Like