MongoDB - How To Install and Configure MongoDB Compass

avatar

In this post, we take a look at How To Install and Configure MongoDB Compass. For this tutorial I am assuming that you have the MongoDB installed. So you know how to run the mongd command line. Or the way through which you can access the mongodb command line options.

So basically make sure to follow the below steps before we proceed.

  1. Install mongodb on Windows.
  2. Make sure to learn how to run mongodb shell.
  3. Make sure to download mongodb compass here.
  4. Have some sample data to upload.
  5. Copy the connection string for local server.

If you prefer the visual instructions then below video is going to help you with the process for installing the MongoDB compass and also you can configure the MongoDB compass.



First thing you should do is make sure to download the Mongodb compass. And once you do that follow the steps in the wizard for the installation. Make sure you have the mongodb installed and the mongod service running because that would be checked.

Once you install and setup through the wizard, you would have to check the process for the setting of the service before we can run it. So once everything is installed and setup, our next approach would be running the MongoDB compass. On windows you can search and find the exe and then you can run the MongoDB compass service.

You can also repeat this process with the Linux too if you have linux install of windows. The command line installation of the mongodb and the mongodb compass would be easier to use. And then you can make use of the command here for running that with the Linux.

mongodb-compass

Once you run either exe on Windows or command on the Linux terminal. This way you would be able to run the new application. This would allow you to connect to the local connection with the MongoDB. This would open up the MongoDB GUI. This GUI would allow you to connect to the specific IP or the local host.

Once that connection is established you are good to go with uploading the sample database and also work with existing connection. Now the thing is that it would be reasonable to make use of the process upto this point once and you won't have to do this over and over. Just connect as normal once the GUI of the Compass is installed and running.

That's it. The service is installed, GUI is opening and you now are ready to upload, download and export the database. So MongoDB compass has been setup and running!



0
0
0.000
8 comments
avatar

Completely didn't understand anything about this but...

You deserve a vote.

Hope you see my comment and come to the #freecompliments community.

Yep I'm actually getting paid to come over here and make this comment. I'll show that trick and more to you.

0
0
0.000
avatar

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 

0
0
0.000
avatar

Beautiful content, what a great tutorial, keep up the good work !BBH !DHEDGE

0
0
0.000
avatar

1


This post has been selected for upvote from our token accounts by @bitcoinman! Based on your tags you received upvotes from the following account(s):

- @dhedge.bonus
- @dhedge.pob
- @dhedge.cent
- @dhedge.stem

@bitcoinman has 1 vote calls left today.

Hold 10 or more DHEDGE to unlock daily dividends. Hold 100 or more DHEDGE to unlock thread votes. Calling in our curation accounts currently has a minimum holding requirement of 100 DHEDGE. The more DHEDGE you hold, the higher upvote you can call in. Buy DHEDGE on Tribaldex or earn some daily by joining one of our many delegation pools at app.dhedge.cc.

0
0
0.000