Dear all, I am fully new to Mongo DB and have started the MongoDB University course. In one of the tasks you should lunach the IDE and connect to the cluster ‘Sandbox’ with the associated connection string:
Use this connection string in your application :

mongosh “mongodb+srv://” --apiVersion 1 --username m001-student


Replace myFirstDatabase with the name of the database that connections will use by default. You will be prompted for the password for the Database User, m001-student . When entering your password, make sure all special characters are URL encoded.

  1. It is not clear which default Database is meant,
  2. I have connected to a sample database in Sandbox but did not pass the test.

I am a student in WBS Coding school and we all have to pass that test but one of us, not even for the instructor, it was clear, to which database you should connect to. Additionally, I followed the steps of creating a cluster as instructed but when connecting to a sample database I was not asked for a password.

I would appreciate every help,
thank you very much in advance,
Ms. Vanessa Stimpel

Whichever DBname you put inplace of myFirstDatabase will be your default DB
You did not specify this is for which course
Assuming m001 it would be sample_training
If you connected successfully to your cluster your test results should pass
Make sure you are connected to your cluster while running test results

1 Like

I’m facing a issue similar to that ; I wasn’t able to copy & paste the associated string , even after typing it manually there is no response in terminal ; what’s should I do?

1 Like

After pasting or typing the connect string did you hit enter?
Show us a screenshot

1 Like

Thanks for your attention , finally the issue got resolved sir ; wish to connect with then and there during my journey into mangodb ,how long have you been into this ?

By removing -apiversion 1 in configuration string successfully able to pass run test

Below cmd prompted for password and able pass run test
mongosh “mongodb+srv://” --username m001-student

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.