MongoHub-Mac icon indicating copy to clipboard operation
MongoHub-Mac copied to clipboard

Connection to Atlas

Open stefanwalther opened this issue 5 years ago • 2 comments

Did anybody succeed to connect to a MongoDB instance on Atlas? I have tried several variants, but just do not succeed (but e.g. connecting with MongoDB Compass Community edition works from my local Mac).

stefanwalther avatar Sep 22 '19 15:09 stefanwalther

Screen Shot 2020-01-30 at 2 57 35 PM

@stefanwalther I successfully connected to an atlas instance.

The main problem I was having when trying to connect was that I was using the name of the database I wanted to connect to as the "Database" when you need to use "admin" regardless You'll get the list of servers and the set name from the "Command Line Tools" in atlas under the "Binary Import and Export Tools" section. Here's what my servers look like since it got cut off in the screenshot: nameofcluster-shard-00-00-vm0ag.mongodb.net:27017,nameofcluster-shard-00-01-vm0ag.mongodb.net:27017,nameofcluster-shard-00-02-vm0ag.mongodb.net:27017

kayschmitt avatar Jan 30 '20 21:01 kayschmitt

Yeah I can't seem to connect to Atlas either, even if I specify "admin" as the database as @kayschmitt suggested. All I get is a "no acceptable peer could be found." error when I set it up just like the screenshot above (of course replacing my actual cluster name and credentials.)

Anaphase avatar Apr 14 '20 20:04 Anaphase