Authentication failed (MongoDB)
stathri opened this issue · 2 comments
stathri commented
filipechagas commented
Hi @stathri
I'm sorry you're having issues connecting with mongo.
I can't say for sure, but it seems your connection string is malformed. According the documentation the expected format is:
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
stathri commented
Hi, adding ?authSource=admin
seems to have fixed it.