0% found this document useful (0 votes)
116 views2 pages

Connecting To Mongodb Using Compass: Chapter 1: Introduction

This document provides instructions for downloading and installing MongoDB Compass version 1.15.4 or later. It then gives the connection details needed to connect Compass to the M001 class MongoDB deployment, including the hostname, username, password, replica set name, and read preference. Students are asked to add these connection details as a favorite after clicking "Connect" to easily reconnect to the database in the future.

Uploaded by

Mohit Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views2 pages

Connecting To Mongodb Using Compass: Chapter 1: Introduction

This document provides instructions for downloading and installing MongoDB Compass version 1.15.4 or later. It then gives the connection details needed to connect Compass to the M001 class MongoDB deployment, including the hostname, username, password, replica set name, and read preference. Students are asked to add these connection details as a favorite after clicking "Connect" to easily reconnect to the database in the future.

Uploaded by

Mohit Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Chapter 1: Introduction

Connecting to MongoDB Using Compass

Lecture Notes

In this course we will make extensive use of MongoDB Compass for learning how to
use MongoDB.

1. Please download Compass from the MongoDB Download Center . If you


downloaded Compass before today, please make sure you are using Compass
1.15.4 (Stable) version or later and upgrade if necessary.

2. Install Compass on your computer from the download. Please, either update or
install Compass 1.15.4 (Stable)version or later.

3. Launch Compass.

When Compass opens you will see a page titled "Connect to Host".

4. Use the following information to complete this form, but do not click
"Connect" yet.

Hostname: cluster0-shard-00-00-jxeqq.mongodb.net

Username: 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 connect to our class
MongoDB deployment after closing and restarting Compass at some point in
the future.
6. Now, click "Connect" and load the databases in the M001 class MongoDB
deployment.

You might also like