您必须创建数据库用户才能访问部署。 出于安全考虑,Atlas 要求客户端以 MongoDB 数据库用户身份进行身份验证,才能访问联合数据库实例。
注意
如果您已创建 MongoDB 用户并将 IP 地址添加到项目的 IP 访问列表中,则可以继续执行过程。
必需的访问权限
要创建数据库用户,必须拥有对项目的 Organization Owner 或 Project Owner 访问权限。
步骤
预计完成时间:2 分钟
要将数据库用户添加到集群,请执行以下操作:
2
在对话框的Create a MongoDB User UsernamePassword步骤中,为数据库用户输入 和 。
您将使用此用户名和密码组合来访问集群上的数据。
注意
If your password contains special characters, you will need to encode them. For more information, see Special characters in connection string password.
提示
For information on configuring additional database users on your cluster, see Configure Database Users.