使用Putty,您可以在运行MongoDB服务器的服务器上创建SSH会话,因此您无法直接使用Putty连接到MongoDB服务器。您可以执行以下操作:
mongo
命令行工具并连接到MongoDB服务器mongo
CLI tool on your machine)mongo yourMongoDbServerHostname:Port/dbname -u dbuser -p dbpassword
并创建与远程MongoDb服务器的连接如果您正在寻找Mongo GUI客户端,请查看:https://robomongo.org/或https://www.mongodb.com/products/compass
如果这不起作用,请提供有关MongoDb服务器的更多信息。