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.
And now I’m stuck.
What is the universes master-key?
I’m in lesson: Cloud: MongoDB Cloud. there an no other notes (I#ve never ever heart the word “node”)
only:
4. Use the following information to complete this form, but do not click “Connect” yet. Hostname:cluster0-shard-00-00-jxeqq.mongodb.netUsername: m001-student Password: m001-mongodb-basics Replica Set Name: Cluster0-shard-0 Read Preference: Primary Preferred
5. Click “Add to Favorites” and enter M001 RS as the Favorite Name . Adding this connection as a favorite will enable you to easily reconnect to our class MongoDB deployment after closing and restarting Compass.
6. Now, click “Connect” and load the databases in the M001 class MongoDB deployment.
If you are not overwhelmed about connection strings I would like to encourage you to read more about it and in particular about the new SRV style. You can find some information at https://docs.mongodb.com/manual/reference/connection-string/ even if it is outside the scope of this course.
In the case of the shared cluster for M001 the SRV URI is simply mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net