-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
Affects Version/s: 1.45.4
-
Component/s: None
-
None
-
Environment:Windows
-
Not Needed
-
Developer Tools
When I click the "Open MongoDB Shell" button in MongoDB Compass, it opens the shell but connects to the "test" database instead of the database I'm currently connected to ("my_data_name"). This happens intermittently.
Steps to Reproduce
- Open MongoDB Compass and connect to my_data_name
- Select a collection.
- Click "Open MongoDB Shell" from the right-side menu.
- Shell opens with rs0 [direct: primary] test instead of rs0 [direct: primary] my_data_name.
Expected Results
Shell should open in my_data_name
Actual Results
Shell opens in test
Hint: The MongoDB Shell should connect to the same database as the one selected in MongoDB Compass.
Additional Notes
Versions:
- MongoDB Compass: 1.45.4
- related to
-
COMPASS-9204 Opening a collection in embedded shell uses the `test` database on first open
-
- Backlog
-