Save a MongoDB Connection
On this page
You can use a saved connection for any task that requires connecting to a database. You can save a new MongoDB connection:
When creating or modifying a data migration job
From the Database Connections bar in a project
From the Relational Migrator Connections page
To start a migration job, Relational Migrator must connect to your MongoDB
database using an account with readWrite
access.
Before you Begin
To save a connection to a MongoDB Atlas cluster, you must be logged in with Atlas.
For both Atlas and on-premises deployments, create a separate MongoDB user for Relational Migrator with
readWrite
access to your MongoDB database.
Steps
To save a new connection from the Connections page:
Enter the MongoDB connection string
In MongoDB connection string (URI), enter your MongoDB URI.
If it isn't included in the connection string, enter the Database to connect to.
If they aren't included in the connection string, enter the Username and Password of your Relational Migrator MongoDB user.
Checking Save password saves the password securely on your machine, so you don't have to enter the Username and Password again when using the saved connection.
If you leave the Database, Username, or Password blank, Relational Migrator uses the values from the URI.