Skip to content

Commit

Permalink
docs: mongodb mention ?authSource=admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Oct 10, 2023
1 parent 69021ac commit 74c1938
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/docs/reference/Connectors/capture-connectors/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ You'll need:
})
```

If you are using a userw ith access to all databases, then in your mongodb
address, you must specify `?authSource=admin` parameter so that
authentication is done through your admin database.

In order to create a user with access to a specific database and the `local` database,
use a command like so:

Expand Down

0 comments on commit 74c1938

Please sign in to comment.