Overview概述
Learn how to configure your application's connection to a MongoDB deployment using the Node.js driver. In the following sections, you will learn:了解如何使用Node.js驱动程序配置应用程序与MongoDB部署的连接。在以下部分中,您将学习:
Compatibility兼容性
You can use the Node.js driver to connect and use the Node.js driver for deployments hosted in the following environments:您可以使用Node.js驱动程序进行连接,并在以下环境中部署Node.js驱动:
MongoDB Atlas
: The fully managed service for MongoDB deployments in the cloud:云中MongoDB部署的完全托管服务MongoDB Enterprise
: The subscription-based, self-managed version of MongoDB:MongoDB的基于订阅的自我管理版本MongoDB Community
: The source-available, free-to-use, and self-managed version of MongoDB:MongoDB的源代码可用、免费使用和自我管理版本
To learn more about using drivers to connect for deployments hosted in MongoDB Atlas, see Connect Your Application.要了解有关使用驱动程序连接MongoDB Atlas中托管的部署的更多信息,请参阅连接您的应用程序。
For information about authenticating to MongoDB, see the Authentication Mechanisms section.有关向MongoDB进行身份验证的信息,请参阅身份验证机制部分。