Need connection string for connection string to Compss

Please assist l am new to Mongo

Hi @Tafara_75644,

Try selecting “Fill in connection fields individually” link showed at the top-right
Regards,
Antonio

1 Like

Hi @Tafara_75644,

Please paste this connection string into the dialogue box and click CONNECT.

mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net/test

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Services Engineer

@Shubham_Ranjan Thanks l made this connection string from the one you gave me
mongodb://m001-student:m001-mongodb-basics@cluster0-shard-00-00-jxeqq.mongodb.net:27017/admin
but l am now getting this error
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.

Hi @Tafara_75644,

Please try this connection string :

mongodb://m001-student:m001-mongodb-basics@cluster0-shard-00-00-jxeqq.mongodb.net:27017/?authSource=admin&replicaSet=Cluster0-shard-0&readPreference=primaryPreferred&appname=MongoDB%20Compass&ssl=true

Please let me know if the error still persists.

Thanks,
Shubham Ranjan
Curriculum Services Engineer

1 Like

Hi
You are a life saver :slightly_smiling_face: Thank you very much l just finished my assignment