How to connect Robomongo to MongoDB

前端 未结 10 2127
借酒劲吻你
借酒劲吻你 2020-11-27 16:51

I am having MongoDB and Robomongo in my running system, I am using Robomongo as client, I have installed MongoDB on different system which I am treating as server, I want to

相关标签:
10条回答
  • 2020-11-27 17:35

    Robomongo 0.8.5 definitely works with MongoDB 3.X (mine version of mongoDB is 3.0.7, the newest one).

    The following steps should be done to connect to mongodb server:

    1. Install Mongodb server (on Windows, Linux... your choice)
    2. Run Mongodb server. Don't set net.bind_ip = 127.0.0.1 if you want the client to connect to the server by server's own ip-address!
    3. Connect to the server from Robomongo with the server ip + set authentication if needed.
    0 讨论(0)
  • 2020-11-27 17:37

    Currently, Robomongo 0.8.x doesn't work with MongoDB 3.0 :: - Mongodb & Robomongo: Can't connect (authentication) - https://github.com/paralect/robomongo/issues/766

    For now, don't use Robomongo, for me, the best solution for me is to use mongochef : http://3t.io/mongochef/

    0 讨论(0)
  • 2020-11-27 17:37

    Have encountered any specific error so far?! btw, here's what we do:

    • Create a new connection, set the name, IP address and the appropriate port

    Connection setup

    • Setup authentication, if required

    Authentication settings

    • Optionally setup other available settings for SSL, SSH, etc.

    • Save and connect

    0 讨论(0)
  • 2020-11-27 17:44
    1. Comment out /etc/mongod.conf file's bind_ip
    2. Download https://download.robomongo.org/0.9.0-rc9/windows/robomongo-0.9.0-rc9-windows-x86_64-0bb5668.exe
    3. Connection TAB:

      3.1 Name ( whatever )

      3.2 Address ( IP of server ) : Port number ( 27017 )

    4. SSH TAB ( I used my normal putty connection details )

      4.1 SSH Address : [ IP of server ]

      4.2 SSH User Name [ User Name ]

      4.3 User Password [ password ]

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