Docs Menu
Docs Home
/
Relational Migrator
/

Save a MongoDB Connection

On this page

  • Before you Begin
  • Steps

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.

  • 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.

To save a new connection from the Connections page:

1

In the list of MongoDB connections, click + Add connection.

2
  1. In MongoDB connection string (URI), enter your MongoDB URI.

  2. If it isn't included in the connection string, enter the Database to connect to.

  3. 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.

3

Relational Migrator attempts to authenticate and connect to the database.

4

The saved connection is available for use in all jobs and projects.

Back

Database Connections