How can I connect to MongoDB Atlas using Robomongo?

后端 未结 8 2273
轻奢々
轻奢々 2020-12-24 00:56

I signed up freely at MongoDB Atlas and created cluster now I want to know how can I create database and connect to that using Robomongo?

相关标签:
8条回答
  • 2020-12-24 01:42

    In case it helps others, Robo3Tversion 1.3 and greater has a "From SRV" field where you can paste the SRV connection string and it fills out the connection options correctly for you. As of 1.3 it looks like this:

    As of writing, you can get the connection string by clicking the "connect" button next to your cluster dashboard's graphs, and then clicking "Connect your application", and you get a screen like this with the connection string that you can copy:

    0 讨论(0)
  • 2020-12-24 01:43

    Direct connections do not work with Replica Sets and Robo3T.
    And the cluster you create on Atlas is a 3-Node replica set.

    Select Connection Type: Replica Set on the first tab

    To find out 3 members in new Atlas dashboard:

    1. click on Clusters in your Atlas dashboard.
    2. click collections button on the cluster.
    3. click Overview tab on the next menu.

    you will see the list of your set (primary and two secondary).

    then follow @Balasubramani M's answer.

    0 讨论(0)
  • 2020-12-24 01:43

    Tip: I struggled updating a connection, no dice.

    Created one form scratch using above and connected on first attempt.

    0 讨论(0)
  • 2020-12-24 01:46

    If you have the "TLS" instead of the "SSL" tab, don't get crazy.

    Just do exactly the same that you would do with "SSL":

    1. Mark the "Use TLS protocol" checkbox
    2. Choose the "Self-signed Certificate" authentication method option

    And that's all!

    0 讨论(0)
  • 2020-12-24 01:51

    Instead of connecting it with robomongo I would recommend you to connect it with COMPASS. That is a opensource GUI tool for connecting to your MongoDB Atlas deployment and it is supported by MongoDB people also.

    You can download compass from https://www.mongodb.com/download-center/compass.

    Additionally many functionalities are not supported in robomongo.

    Robo mongo is the 3rd party tool so even if you go the mongodb people they will not support.

    Instruction for connecting your atlas cluster with compass can be found in the documentation https://docs.atlas.mongodb.com/compass-connection/

    However, even after following my response you encounter any issue, let me know , I will help you further.

    0 讨论(0)
  • 2020-12-24 01:55

    [Updated]

    It is now possible to connect to Mongo Atlas 3.4 free cluster with the latest beta: Robomongo 1.1 - Beta version with MongoDB 3.4 Support

    0 讨论(0)
提交回复
热议问题