Docs HomeMongoDB Compass

Disconnect from MongoDB断开与MongoDB的连接

Disconnecting from a MongoDB deployment closes the Compass connection to the active deployment and returns the Compass view to the initial connection dialog.断开与MongoDB部署的连接将关闭与活动部署的Compass连接,并将Compass视图返回到初始连接对话框。

Steps步骤

1

Click Connect in the menu bar.单击菜单栏中的“连接”。

2

Select Disconnect from the dropdown menu.从下拉菜单中选择“断开连接”。

Learn more了解更多信息

To create a new connection, see Connect to MongoDB.要创建新连接,请参阅连接到MongoDB