robomongo | Native cross-platform MongoDB management tool
kandi X-RAY | robomongo Summary
kandi X-RAY | robomongo Summary
Take our Robo 3T Customer Survey for a chance to win a pair of Sony WH-1000XM4 noise-cancelling headphones! . Note: This sections is for Robo 3T and it directly depends on what MongoDB suppports (See: | MongoDB Versions | MongoDB Cloud Platforms | | :-------------------- | :-------------------- | | 4.2 | Mongo Atlas | | 4.0 | | 3.6 |. | Windows | Mac | Linux | |:---------------------- | :--------------------------------| :---------------------------| | Windows 64-bit 10 | Mac OS X 11 (Big Sur) | Linux Ubuntu 20.04 64-bit | Windows 64-bit 8.1 | Mac OS X 10.15 (Catalina) | Linux Ubuntu 18.04 64-bit | | Windows 64-bit 7 | Mac OS X 10.14 (Mojave) | |.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of robomongo
robomongo Key Features
robomongo Examples and Code Snippets
Community Discussions
Trending Discussions on robomongo
QUESTION
I have tried to connect to my mongodb on a server i own via an ssh tunnel via the following apps but nothing will connect:
- compass
- robomongo
- nosqlbooster4mongo
- phpstorm inbuilt mongodb java connector
Server and mongo:
- Server: ubuntu 18lts
- Mongo: latest community version
The Connection URL in all instances is the same (also tried removing the query params) and this url works on the node app:
mongodb://localhost:27017/data-aggregator?retryWrites=true&w=majority
nosqlbooster4mongo's error message is: But the connection url is 27017 and gets changed to 37903 for some reason
PHPStorm's error message is:
DBMS: Mongo DB Case sensitivity: plain=mixed, delimited=mixed Driver: MongoDB JDBC Driver (ver. 1.13, JDBC4.2) Effective version: UNKNOWN (ver. 0.0) Ping: 10 sec, 289 ms (keep-alive query results in error)
Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:42865, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Exception receiving message}, caused by {java.net.SocketException: Connection reset}}].
Nothing works but i cannot understand why.
The SSH connection is working as confirmed by nosqlbooster4mongo and phpstorm
But as soon as it then tries to connect to the local mongodb instance it fails. I don't know if this is an issue with the SSH tunnel or the mongo setup. Via a terminal i can connect to mongo no issue, also the node app there can too.
The tunnels are using the same key as i use to connect to the server via terminal without issue which leads me to believe it is mongo but i don't know where to look :/
As the tunnel is established, then this says the server firewalls are not an issue.
I don't know what it is, is there an additional query param for ssh tunnel access?
...ANSWER
Answered 2022-Mar-10 at 17:55Solved by @Jack_Woehr on: https://www.mongodb.com/community/forums/t/mongo-5-community-edition-cannot-connect-via-tunnel/151526
The trick was to not use the ssh tunnel from any of the tools listed and just create a the tunnel on the OS.
QUESTION
I want to query my database in Mongo and then be able to copy and paste the list of ids the query returns.
I know I can project the _id
like
ANSWER
Answered 2020-Dec-16 at 12:46Is this query you want?
Using aggregate
add all _id
s to a set:
QUESTION
I'm migrating mLab from Heroku to MongoDB Atlas. As one of steps I want to check if there is a connectivity to newly created cluster. I'm used Robo3T (formerly Robomongo) for Heroku mLab instances. But it doesn't work with Atlas. I'm getting following error when creating connection from URL:
...ANSWER
Answered 2020-Oct-26 at 22:38First of all, check if you are using latest Robo3T. MongoDB Atlas uses mongodb+srv://
protocol, that was not supported some time before.
After that please go by following check-list:
- Use import
From SRV
by copy-pasting URL from MongoDB Atlas; - MongoDB Atlas is using Replica Sets even for free Sandbox (Atlas M0) accounts. So during creation ensure that you used that type;
- Fill or check all cluster members;
Set Name
should be set.
important differences on Authentication tab:
Database
should beadmin
not like database name (used on Heroku),Auth Mechanism
should beSCRAM-SHA-1
- Check
Manually specify visible databases
and type thereadmin,
on TLS tab:
- Check
Use TLS protocol
Authentication method
-Self-signed Certificate
Now it should work.
P.S. Previously, I also had problems with having database same like on Heroku with same db-name and user-name, also I thought that Auth Mechanism should be MONGODB-CR. But that didn't work.
QUESTION
I'm trying to create a production user in Mongo atlas which isn't an admin.
- Right now I've created a new database
anatoly-dev
with a collectionfingerprints
in my cluster:
- And created a new user which suppose to have access only to the above database:
When I connect with this user in Robo3T (Robomongo) I don't see anatoly-dev
.
I use the same connection properties as I connect with admin user except username/password/default database which I defined as anatoly-dev
This is URI which is generated by Atlas and which I use:
mongodb+srv://:@cluster****.mongodb.net/anatoly-dev?retryWrites=true&w=majority
What do I miss?
...ANSWER
Answered 2020-Sep-13 at 09:16Ok, it was an issue with Robo3T not with Atlas or permissions. For more details please refer to this feature update: Manually specify visible databases
In general, beginning from Robo 3T 1.4 you can and obviously you must manually specify visible database upon connection if your user hasn't admin privileges.
The motivation for this feature was this problem when the users without admin role privileges (or have access to a specific database), were unable to get the list of databases and so the connection was successful but there were no visible databases (as result of failed listdatabases command).
QUESTION
I have the following image below
I use _id but won't work but, when I use field like field_name is working.
I already use ObjectId("5f311...") still no luck
But when I use the query in robomongo client but using ObjectId("5f311...") it works.
I highly appreciate the help from you guys. I spent hours on this.
Thank you and keep safe.
...ANSWER
Answered 2020-Aug-24 at 16:43use ObjectId of mongo like this:
{ $match: { _id: mongo.ObjectId("5f43ebb18415f39cf1cd75d4") } }
complete example:
QUESTION
I'm unable to run commands on MongoDB that has access control enabled from a Rails 6 app.
Here's the error I get:
...ANSWER
Answered 2020-Aug-06 at 02:24Nek
's comment pointed me in the right direction, if you look at the docs for the mongoid.yml
file, you will notice that there are two options
sections, i had to move the authentication part inside one of them, the correct config looks like this:
QUESTION
I followed the instructions here to set up an SSH tunnel to connect externally: https://docs.aws.amazon.com/documentdb/latest/developerguide/connect-from-outside-a-vpc.html
Once I have the tunnel established I CAN connect using the GUI client Robomongo and "Studio 3T". So that verifies that the ec2 machine does have access and my SSH tunnel is working.
But despite that, NodeJS is not happy with the connection. I am getting one of 2 errors depending on my config.
config 1:
...ANSWER
Answered 2020-Jul-15 at 02:06You cannot connect to a replica set deployment through a tunnel, since the driver will (try to re) connect to the hostnames specified in replica set configuration as soon as it receives a response from any of the replica set members.
You can connect through a tunnel in single topology. Remove replicaSet
URI option from your URI. Naturally this only gives you a connection to the specified node, you don't get automatic failover etc.
QUESTION
I have a strange behavior on a mongoose api who remove object from collection.
i call an the api passing the id as parameter (i checked and the ID exist), but what i obtain is a response 404.
here how i call the api using angular service:
...ANSWER
Answered 2020-Jun-01 at 09:37I can see on front-end you have mentioned request type POST try changing it to DELETE
QUESTION
When I try to project a value which is inside a java.util.Map
then I get below exception. But when I run the generated shell query in roboMongo then It works. I would be very grateful if somebody could point out the problem.
ANSWER
Answered 2020-Mar-21 at 11:34The problem is in TypedAggregation. This is a special aggregation where Spring holds information of the input aggregation type.
To avoid it, use raw aggregation (as if you run in MongoDB shell) this way:
QUESTION
To be more clear, look at the below text file.
...ANSWER
Answered 2020-Mar-03 at 07:11[The following is a response to the original question, which was premised on JSON input.]
Since you need to count the items in a group, it would appear that you will find group_by( sub("/[^/]*$";"") )
useful.
For example, if you wanted to omit large groups entirely, as one interpretation of the stated requirements would seem to imply, you could use the following filter:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install robomongo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page