Questions tagged [mongodb-compass]

MongoDB Compass is MongoDB’s own GUI tool for database management, visualization, and CRUD operations. It supports the latest MongoDB versions and is available on Linux, Mac, or Windows. mongodb-compass tag should be used when posting questions related to this tool.

The GUI for MongoDB. Visually explore your data. Run ad hoc queries in seconds. Interact with your data with full CRUD functionality. View and optimize your query performance. Available on Linux, Mac, or Windows. Compass empowers you to make smarter decisions about indexing, document validation, and more.


Development:

All versions of MongoDB Compass are source available and free to use. You can find the source repositories for MongoDB Compass at https://github.com/mongodb-js/compass/.

Running Compass locally requires Node.js and npm:

  • Node.js: ^12.4.0
  • npm: >=6.13.0
npm install
npm start [compass|compass-readonly|compass-isolated]

For issues, create a ticket in JIRA Project.

Is there anything else you’d like to see in Compass? Submit suggestions in our feedback forum.

478 questions
0
votes
1 answer

restore a mongo db from connection string into local database

I have a QA database that has more up to date documents in the cluster than there is on the database on my local machine. I want to do the restore via the QA connection string that I have i.e mongodb://somePortalAPI:***@SomeServer into my local…
Harold_Finch
  • 682
  • 2
  • 12
  • 33
0
votes
0 answers

Convert mongodb connection string to PHP

I have the following connection string generated from MongoDB: mongodb+srv://admin:@cluster0-n74zb.mongodb.net/test I want to place the connection data in Laravel, Here is what I have tried but it doesn't connect. 'mongodb' => array( …
user379888
0
votes
0 answers

Filter only email addresses in MondoDB compass and export

In MongoDB compass I want to filter all the records and get only email addresses so that I can export it. Kindly let me know what should I use in filter?
Sharad
  • 1
0
votes
1 answer

MongoDB Compass use SSL with .pem File

I'm trying to connect (SSL) to MongoDB using Compass with this connection string - it's using a .pem file. It doesn't work (timeout) and will not save my changes - wierd. I think I need to add "Server Validation"…
Big Daddy
  • 5,160
  • 5
  • 46
  • 76
0
votes
2 answers

MongoDB Compass forces me to enter Replica Set Name when trying to connect to my local DB. Can I avoid this?

EDIT: Not sure what I've done differently (again, these are my first steps with all of this), but now I don't get the error message I got before. Instead though, it just tries to make the connection and I get Server selection timed out after 30000…
Tsabary
  • 3,119
  • 2
  • 24
  • 66
0
votes
3 answers

Why I am unale to connect to my Atlas Cluster?

I am learning basic course of MongoDatabase at Mongo University, and I am Unable to connect my own Cluster. Although I have named my cluster differently which is StockMarketAnalysis. mongo "mongodb+srv://sandbox-xxxxx.mongodb.net/test" --username…
user11810803
0
votes
0 answers

I cannot connect to MongoDB Atlas database even though my IP is whitelisted

I am trying to connect to a mongoDB Atlas cluster using my node app, it wasn't working so I tried it with the mongoDB Compass. It shows timeout error. I can't figure out the problem, I have already whitelisted my IP from the database. I am behind a…
Kavii Suri
  • 21
  • 1
  • 3
0
votes
2 answers

Mongo Compass: Command connectionStatus not supported

I am trying to connect to Azure Cosmos DB using Mongo Compass. I tried using connections string and filling in the fields manually. Each time I receive the following error "An error occurred while loading navigation: Command connectionStatus not…
0
votes
0 answers

creating aggregate expressions in MongoDB Compass

I have been using MongoDB Compass to create Aggregate Expressions for my MongoDB database. But it does not support all pipeline aggregations. I was wondering if there is a better way to do that?
Asdfg
  • 11,362
  • 24
  • 98
  • 175
0
votes
1 answer

MongoDB Compass disconnects immediately

I'm trying to connect to MongoDB with MongoDB Compass 1.20.4 My connection string is: mongodb://localhost:27017/?replicaSet=rs0 Here is my MongoDB docker setup: version: '3' services: mongo0: hostname: mongo0 container_name: mongo0 …
mikheevm
  • 559
  • 5
  • 14
0
votes
1 answer

libgtk-3.so.0 not found when trying to run mongodb-compass from RedHAt Linux

I tried installing the latest version of Mongo compass by running the RPM in the red hat instance: sudo yum install mongodb-compass-1.17.0.x86_64.rpm When I try to run the mongodb-compass, I am getting the below error: [ec2-user@ip-10-93-230-148 ~]$…
dilip280
  • 115
  • 2
  • 9
0
votes
1 answer

MongoDB Compass returns all rows when I run a filter

I am trying to run a filter in MongoDB Compass and it returns all rows instead of the row that I am looking for. I can run the filter on example databases that are similar to my database without any problem. https://i.stack.imgur.com/IBivJ.png Here…
Tom Glenn
  • 81
  • 1
  • 3
0
votes
0 answers

MongoDB Atlas - Geolocation

So I am using Mongodb Compass and trying to test out Geolocation while MongoDB website is very good at terminal coding I need to be able to do the same thing as below in mongoDB atlas - just to make sure the code works. I plan on using Mongoose as…
RussellHarrower
  • 6,470
  • 21
  • 102
  • 204
0
votes
0 answers

MongoDB and MongoDB compas cooperation

I installed mongoDB localy as a service by tutorial. But if i connected to DB on sample from w3school var MongoClient = require('mongodb').MongoClient; var url = "mongodb://localhost:27017/mydb"; MongoClient.connect(url, function(err, db) { if…
Tom
  • 77
  • 7
0
votes
2 answers

Query all username fields in MongoDB

I know this is a very basic question but I have done hours of research and I can't find it anywhere so maybe it's also useful for other people. I just downloaded MongoDB Compass because I'm trying to export all username from my account collection…
Joan Cardona
  • 3,463
  • 2
  • 25
  • 43