Docs Menu
Docs Home
/
Relational Migrator
/

Connect to Oracle

On this page

  • About this Task
  • Steps
  • Database Connection String
  • Connect to Oracle
  • Learn More

This page shows how to save a new Oracle connection from the Connections page. You can use a saved connection for any Relational Migrator task that requires connecting to a database.

To save a new Oracle connection in Relational Migrator, you must:

  • Identify your database connection string or database information.

  • Connect to Oracle.

Important

To plan your migration and map your Oracle schema to a MongoDB schema, you must connect using an account with the correct read permissions.

To migrate data, you must connect to your Oracle database using a service account with the required permissions.

For information on database configuration and required permissions, see Configure Oracle.

The Oracle connection string looks like:

jdbc:oracle:thin:@<host:port>:SID

For example, the Oracle database running on prodHost at port 1521 with the ORCL SID uses the following connection string:

jdbc:oracle:thin:@prodHost:1521:ORCL

Alternatively, Relational Migrator can create the appropriate connection string based on user-provided database information.

Note

To learn more about Oracle connection strings, see:

  • Oracle JDBC Developer's Guide and Reference

  • Connection String Attributes

1

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

2

In the Database type drop-down, select Oracle.

3
  1. Above JDBC URI, enable the Enter URI manually toggle.

  2. Paste your connection string into the JDBC URI.

4
Field
Value

Host

The host IP or DNS name.

Port

The port number.

Database

The database name. Required.

Identifier

One of Service Name or SID.

Username and Password

The credentials to use for authentication.

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.

5

Enter a Connection name and optional Environment tag.

Environment tags color code and organize connections for convenience. Leaving the drop-down empty is the same as selecting the "None" tag.

6

Relational Migrator attempts to authenticate and connect to the database.

7

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

Back

Configure MySQL