M001: MongoDB Basics Chapter 1: Introduction Lab 1.1: Install Compass and Connect

Hey,

I’m attempting the quizz on this section but based on the DB im looking at and the options of answers given i don’t seem to answer the questions correctly. Could the answers given “names” be alternatives also.

Thanks.

I am unsure I understand your query. Please elaborate more.

Also, I checked you have successfully passed the Lab1.1. :slight_smile: Let me know if you still need help.

Kanika

True,

I guess i had a bad mindset starting out. The instructional videos are a bit different with the DBs on compass. But i have figured out the way it “All” works with the minor changes.

Thanks.

Compass not work on Fedora (both versions: complete and community).
Segmentation Fault.

Which version are you using?

Note: There is already a JIRA ticket on the same issue: https://jira.mongodb.org/browse/COMPASS-3361

Fedora 29 as issue. :disappointed_relieved:

Hallo,

I am not able to connect Database through Compass. I have entered the given details in compass and added to favorite, but while click on connect it is showing the below issue,

getaddrinfo EAI_AGAIN cluster0-shard-00-00-jxeqq.mongodb.net cluster0-shard-00-00-jxeqq.mongodb.net:27017

kindly help me overcome this issue.

Thanks.

Hi @Dhilip_52341,

Just to make sure that you have filled in all the parameters correctly I would request you to share the screenshot of the Compass connection screen.

In addition to that can you please make sure you are able to ping the cluster?

ping cluster0-shard-00-00-jxeqq.mongodb.net

And also please verify that port 27017 is not blocked by clicking http://portquiz.net:27017

On some occasions, even though the above mentioned tests passes, network is still a problem. So please make sure you are not connected to any vpn and firewall/antivirus is disabled . You can also try to connect from some other network such as your home network .

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Hi @Shubham_Ranjan

Thank you so much for your reply.
I have already connected to my Home network and checked. It helps too. I can able to connect to the Database through compass.

Hallo,

I am not able to get the Schema view for 100YWeatherSmall.data. It is keep on loading due to more weight. So, i choose the STOP AND SHOW PARTIAL RESULT, but after that it will be a blank screen, no data reveled.
Kindly help me.

Is it working for other DBs/collections?
Is your internet speed fine?
Did you try to restart compass
Please check this link
Analyze Schema doesn’t open

Hi @Dhilip_52341,

Please make sure that you have a stable internet connection with high bandwidth. If you are still facing any issue with it then you can import the entire dataset used in M001 course in a locally running mongod instance and connect to it using Compass.

For more information please refer this post.

Hope it helps!

If you have any other query then please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Hello @Shubham_Ranjan

I have referred this, mongorestore.
But I am not able to restore the local dump data. I have used this mongorestore --host localhost --gzip, then the below issue i got

2019-12-11T11:51:53.658+0530 using default ‘dump’ directory
2019-12-11T11:51:53.664+0530 preparing collections to restore from
2019-12-11T11:51:53.671+0530 don’t know what to do with subdirectory “__MACOSX\dump”, skipping…
2019-12-11T11:51:53.674+0530 don’t know what to do with file “dump\dump.DS_Store”, skipping…
2019-12-11T11:51:53.674+0530 don’t know what to do with subdirectory “dump\100YWeatherSmall”, skipping…
2019-12-11T11:51:53.677+0530 don’t know what to do with subdirectory “dump\citibike”, skipping…
2019-12-11T11:51:53.684+0530 don’t know what to do with subdirectory “dump\city”, skipping…
2019-12-11T11:51:53.686+0530 don’t know what to do with subdirectory “dump\mflix”, skipping…
2019-12-11T11:51:53.688+0530 don’t know what to do with subdirectory “dump\results”, skipping…
2019-12-11T11:51:53.690+0530 don’t know what to do with subdirectory “dump\ships”, skipping…
2019-12-11T11:51:53.697+0530 don’t know what to do with subdirectory “dump\video”, skipping…
2019-12-11T11:51:53.699+0530 0 document(s) restored successfully. 0 document(s) failed to restore.

Kindly help me.

Thanks,
Dhilip.

Thank you @Ramachandra_37567 for your reply. It might be my internet speed. Because sometimes i can able to view the schema with minimum number of fields.

Hi @Shubham_Ranjan

I have imported to Local. Now no issues.
But, i think the Dumps you had given is not updated to the present class. It will be really helpful, if you have provide the latest dumps.

Thank you,
Dhilip.

Hi @Dhilip_52341,

If I’m not mistaken then the dump contains all the datasets which we have used in our class atlas cluster.

Note : Now, we have added some extra datasets in our class atlas cluster but we do not use it in the M001 : MongoDB Basics course.

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Hi all, i am new here.
I unable to see the “connect to host” after i installed Mongo compass.
May I know how i can solve this?
Thanks

Hi @ellyn_29456,

In the latest version of Compass, the UI has changed.

Please refer this post for further instruction.

Thanks,
Shubham Ranjan
Curriculum Services Engineer

Hi @Shubham_Ranjan
Tq so much