Error message on connecting to MongoDB Atlas

on connecting to Mongo Atlas i always have this error message MongoDB not running on the provided host and port ,so that i can’t submit the lab assignment

1 Like

Try this setting. It was the only one that worked for me.
Try this password: m001-mongodb-basics

1 Like

An error occurred while loading navigation: ‘not master and slaveOk=false’: It is recommended to change your read preference in the connection dialog to Primary Preferred or Secondary Preferred or provide a replica set name for a full topology connection.

Received this error message not sure what to do next.

Hi @Cindy_31877,

I am sorry that you are having trouble connecting to compass. Here are few checks:

If you are able to connect through the command above, restart compass and try again.

Also, please check this post. About the Chapter 1: Compass Connection [Solution]

Kanika