Unable to connect to server

I have been unable to connect to server even after trying this string for hours

mongo “mongodb+srv://m220student:m220password@cluster0-yekah.mongodb.net/test”

The response on the Atlas has been “Authentication fail”

Please, anyone help

Hi @Oyebamiji_57638,

I was able to successfully connect with the following command.

mongo mongodb+srv://m220student:m220password@cluster0-yekah.mongodb.net

Could you screenshot the error message that you are getting?

You are already in the mongo shell. Why are you entering the command mongo?

1 Like

So what should I do to connect to the mflix Cluster?

Exit the current mongo shell and invoke mongo with the cluster uri. @ yulia_genkina, already mentioned the command you have to use.