Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to Atlas #264

Open
stefanwalther opened this issue Sep 22, 2019 · 2 comments
Open

Connection to Atlas #264

stefanwalther opened this issue Sep 22, 2019 · 2 comments

Comments

@stefanwalther
Copy link

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).

@kayschmitt
Copy link

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

@Anaphase
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants