简体   繁体   English

连接到 mongoshell 上的远程 Mongodb 服务器

[英]Connect to remote Mongodb server on mongoshell

I started using mongoshell to connect to my remote mongodb using the following:我开始使用 mongoshell 使用以下命令连接到我的远程 mongodb:

connect (" connectionstring with username and login info") connect (" 带有用户名和登录信息的连接字符串")

I saw this was method I saw on mongodb documentation used for windows mongoshell and wanted to confirm I was doing this correctly.我看到这是我在用于 windows mongoshell 的 mongodb 文档中看到的方法,并想确认我这样做是正确的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM