Connect to Your Data Lake
Estimated completion time: 15 minutes
This part of the tutorial will walk you through connecting to your
Data Lake using the MongoDB Shell, mongosh
.
Prerequisites
To complete this part of the tutorial, you will need to have completed the following:
- Part 1: Deploy a Data Lake
- Part 2: Configure Connection for Your Data Lake
Connect to Your Data Lake Using the MongoDB Shell
Connecting to your Data Lake depends on whether you have the MongoDB
shell, mongosh
, installed:
Only one user can authenticate on a connection to a Data Lake at any
given time. If a user authenticates and then runs the db.auth()
command, Data Lake replaces previous user's permissions with the new user's permissions.
The connectionStatus
command shows only the newly authenticated user in the
authenticatedUsers
output field.
Next Steps
Now that you're connected to your Data Lake, proceed to Verify Your Database and Collections.
