Newbie trying to install retool with mongodb hosted 1and1

Hello,

I am trying to install retool.

When I add in retool my connection details I have this error message

In 1&1 interface I allowed the ip from retool

Many thanks

Baruck

Hi Baruck!

We worked through this via chat support!

But this was an authentication issue, where we had to authenticate the database user against a different mongo database than we were trying to connect. Some mongo instances only allow users to be authenticated against a specific database (say 'admin' for example), where as we would like to get data from a database (ex. 'users'). In order to connect this with Retool, we have to use a connection string with the param authSource at the end. For example:

mongodb:/dbusername:password@host:port/users?authSource=admin