Connecting to mongodb Atlas


#1

Hi!

Just registered a Redash account and tried to add a mongodb datasource that is hosted on mongodb atlas. I have tried a lot of different settings for the connection string, but no luck in connecting.

Has anyone successfully connected to mongodb atlas (free tier)?

Any help appreciate. Thanks!


#2

Well, to answer my own question, I was actually able to connect with the following format of the connection string:

mongodb+srv://[user]:[password]@[host]/[dbname]?retryWrites=true


#3

Thank you for following up with a solution!

Happy Querying :nerd_face: