How can I add and connect to this Atlas Cluster from Mongo Explorer?:
mongo "mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl -u m121 -p aggregations --norc
PS: I need to add and run this from Mongo Explorer (Plugin for IntelliJ IDEA) not from shell.
github.com/dboissier/mongo4idea
If you have created a user and are having trouble authenticating, try the following: Check that you are using the correct username and password for your database user, and that you are connecting to the correct database deployment. Check that you are specifying the correct authSource database in your connection string.
Could not connect to any servers in your MongoDB Atlas cluster. The IP address seen by Atlas is not necessarily the IP address of your workstations. If behind a router that does NAT or using VPN the address seen is the one of the router or the exit point of the VPN.
1. Get the connection string from MongoDB Atlas Log in to your MongoDB Atlas account. This will take you to your Clusters overview. Click on Connect. Choose Connect Your Application. Choose your driver and driver version.
In this MongoDB Atlas tutorial, you’ll learn how to set up a cluster using the M0 free tier, connect to your cluster through Studio 3T, and import your first collection from a JSON file. What is MongoDB Atlas? MongoDB Atlas is MongoDB’s fully-managed cloud database service that comes with a free tier.
In the context of MongoDB, “cluster” is the word usually used for either a replica set or a sharded cluster.
An Atlas cluster can support a number of client connections which is determined by its cluster tier. M30 clusters support up to 2000 simultaneous connections, while M200 clusters support up to 128,000 simultaneous connections.
Add a new server as on the image:
cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017
aggregations
Then go to Authentication tab and set credentials:
m121
aggregations
admin
SCRAM-SHA-1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With