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

MongoDB Tunnel to Primary on Dedicated #978

Open
raupie opened this issue Aug 24, 2020 · 0 comments
Open

MongoDB Tunnel to Primary on Dedicated #978

raupie opened this issue Aug 24, 2020 · 0 comments

Comments

@raupie
Copy link

raupie commented Aug 24, 2020

When using MongoDB Compass GUI to connect to the mongodb service on Platform.sh, it will connect to the first node in the connection string from the relationships.

However, the first node could sometimes not be the primary server and could be connecting to a secondary which has read only permissions.

The work around is to connect via an ssh tunnel to each node manually and test the connection in Compass until it changes.

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

1 participant