mongodb-compass Questions

12

The default localhost connection refused. Operating System: Windows 7 MongoDB Compass: Version 1.19.12 screenshot
Derose asked 17/12, 2019 at 13:13

2

as stated in the title i'm having some problems querying from MongoDB Compass using the aggregate methhod. I have a collection of documents in this form: {"Array":[{"field":"val","field2":"val2"},...
Scalade asked 8/6, 2018 at 8:5

2

Is it possible to add a field to every document in a collection in MongoDB Compass? Or is this something that has to be done in the shell?
Nanettenani asked 25/11, 2019 at 18:26

2

Is there a way to Clone a MongoDB database and its data with MongoDB Compass to my local server? I do not want to corrupt the dev environment by accident so I want to test things out locally, but I...
Gayden asked 8/1, 2021 at 14:29

3

Solved

I'm trying to perform a date range query on the _id field using compass. I've tried what I found here with the following filter: {_id: { $gte: ObjectId.fromDate(new Date('2019-01-01')) } } What am...
Suffumigate asked 15/2, 2021 at 14:3

7

Solved

I'm trying to see the contents of a collection using MongoDB Compass. I have username/password authentication set up. I can log in successfully but can't see any documents in the collection. Instea...

3

Solved

while trying to export collection from MongoDB compass it's not exporting all data, it's only export fields that are present in all documents. for eg: if document 1 has { "Name": "A...
Scriber asked 5/8, 2021 at 8:36

5

Solved

I have remote database in Atlas with name of "test" and I want to download collection name image_table as a JSON file. In mac terminal: $ mongoexport –db test –collection image_table image.json I...

5

Solved

How does one use Mongo Compass and search by ObjectID? I've been searching for the documentation for this but haven't been successful with anything. I have tried: { "_id" : "58f8085d...
Zinazinah asked 20/4, 2017 at 16:54

7

Solved

My MongoDB Compass has updated to version 1.28.1 and now I can't connect to my mongo host. The error is No AuthProvider for DEFAULT defined. I don't use authentication, so my connection string is w...
Lent asked 26/7, 2021 at 7:47

12

Solved

I ran the MongoDB Community Version Download Setup with the GUI for Mongo - Compass checked. No problems with the installation and the setup was successfully completed. However after the setup I...
Caseate asked 7/12, 2017 at 13:47

15

I just want to try MongoDB Compass GUI for MongoDB, but when I try to connect using local host port: 27017 I get this error: Could not connect to MongoDB on the provided host and port I follow...
Fairlead asked 11/3, 2017 at 18:46

4

Solved

With MongoDB Compass is it possible to see users for a database or create new ones?
Hughes asked 27/10, 2017 at 10:14

8

Solved

I'm studying about MongoDB and trying to connect Compass to my db on my local pc but keep getting the error "Server selection timed out after 10000 ms" on Compass everytime, here is the log in m...
Glovsky asked 30/9, 2019 at 2:3

5

Solved

I'm new to MongoDB Compass tool and am trying to update a field in my collection. Please can someone suggest where the update query must be written. Could find no options or panes in the tool to wr...
Subvene asked 5/3, 2018 at 12:7

2

Solved

AWS DocumentDB is a relatively new service we're trying to migrate to. To connect from outside of the VPC, you have to create a tunnel to an existing instance. For example: ssh -i "ec2Access.pe...

2

When I connect to mongodb using a url, I get the error: Server at 10.70.152.26:27017 reports maximum wire version 4, but this version of the Node.js Driver requires at least 6 (MongoDB 3.6)
Praise asked 5/1, 2022 at 8:58

3

I'm very new to MongoDB and MongoDB Compass. I have some 1000 records in a customer collection. How I can delete all the records at once through MongoDB compass. Many Thanks,
Phlebitis asked 21/5, 2018 at 12:29

5

I'm trying to find data using native Mongo queries, but can't do it. It seems mongoDB Compass only provides filter property for fetching data. As in case of SQL's (say phpmyadmin, mysqlWorkbench, ...
Sememe asked 6/2, 2019 at 6:24

4

Doing a simple $match aggregation results in the Expected "[" or AggregationStage but "{" found. error. { $text: { $search: "search query" } }
Craal asked 29/10, 2018 at 3:16

3

Solved

All of a sudden I am getting an error - 'Current topology does not support sessions' on MongoDB Compass. I have never seen this before on MongoDB Compass!!! Below are the details on version/server ...
Rosefish asked 10/12, 2021 at 1:28

5

I am new to mongoDB trying to setup tools for my new project. Most of my infrastructure run on AWS so i prefer to use AWS documentDB. I manage to connect to documentDB from EC2 both via mongo clien...
Temper asked 29/1, 2021 at 7:36

4

I have multiple instances of MongoDB deployed inside my Kubernetes cluster through Helm packages. They are running as a service, in NodePort. How do I connect to those MongoDB instances through UI ...
Shearwater asked 6/8, 2018 at 15:3

0

I am using Nginx as a reverse proxy server for MongoDB (deployed in docker) using TCP Streams. Using Nginx also helps me to easily configure SSL certificates obtained from Let's encrypt. Everything...
Urology asked 7/10, 2021 at 12:27

3

Solved

I wish to view in MongoDB Compass the last N documents in a very large collection; too many to scroll through. I could .skip(total - N) if I knew the syntax for that within Compass. Alternatively...
Cess asked 13/3, 2017 at 8:5

© 2022 - 2024 — McMap. All rights reserved.