本文介绍了如何将Robomongo连接到MongoDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行的系统中装有MongoDB和Robomongo,我将Robomongo用作客户端,已将MongoDB安装在作为服务器处理的其他系统上,我想将系统的Robomongo(作为客户端)连接到MongoDB上其他系统(服务器).我应该遵循哪些步骤来实现相同目的?任何线索都将有所帮助.预先感谢

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 connect Robomongo of my system (as client) to MongoDB on other system (server).What steps should I follow to achieve the same? Any leads will be helpful.Thanks in advance

推荐答案

我能够使用以下连接字符串将Robomongo连接到在Mongo Labs上运行的Mongo DB的远程实例:

I was able to connect Robomongo to a remote instance of Mongo DB running on Mongo Labs using the connection string as follows:

  1. 下载最新的Robomongo.我从此处下载了RC6.

  1. Download latest Robomongo. I downloaded 0.9 RC6 from here.

在连接字符串中,如下所示填充服务器地址和端口号.

From the connection string, populate the server address and port numbers as follows.

  1. 在身份验证标签下,按如下所示填充数据库名称,用户名和密码.
  1. 测试连接.

希望获得帮助!

这篇关于如何将Robomongo连接到MongoDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-24 20:27