EDIT:
Not sure what I've done differently (again, these are my first steps with all of this), but now I don't get the error message I got before. Instead though, it just tries to make the connection and I get
Server selection timed out after 30000 ms
After some time.
ORIGINAL:
I am new to using MongoDB - currently taking a back end course online.
It seems that Compass has changed their interface for adding a new connection, lately, and maybe some business logic, because all guides I find use the previous one.
Specifically, when adding a new connection, in the guides I read, they leave Replica Set Name
empty. When I try to do that, I get an error saying Incomplete key value pair for option
.
I tried just calling it localhost
and it "works", but I don't see any of my DBs.
If I connect with Robo 3t I can see them.
Is it a wrong Replica Set Name
that's preventing me from deeing the DBs? Or am I doing something else wrong?
My settings for when trying to connect are:
Hostname : `localhost`
port : 27017
SRV record : I leave it off
Authentication : None
Replica Set Name : localhost
Read preferences : Primary
SSl : none
SSL tunnel : None