Database Connectivity

You can now connect to the following databases from erwin Data Modeler (DM) without using a client software.

  • Relational Databases:

    • Oracle

    • SQL Server

    • Azure SQL

    • Azure Synapse

    • MySQL

    • MariaDB

    • SAP ASE

    • Snowflake

  • NoSQL Databases:

    • Cassandra

    • Couchbase

    • MongoDB

To connect to these databases without a client software, use the following database connection parameters:

Oracle
Instance

Specifies the JDBC instance to which you want to connect.

For a cloud-based connected, the instance name is as follows:

TNS_ADMIN=<Path of unzipped cloud wallet file>

For example, TNS_ADMIN=C:\\Users\\MyUser\\Wallet_DBTEST

Note:Ensure that you have downloaded, saved, and unzipped the cloud wallet file.

Connection String

Specifies the connection string based on your JDBC instance in the following format:

jdbc:oracle:thin:@//<servername>:1521/

For example, JDBC:ORACLE:thin:@//localhost:1521/

For a cloud instance, the connection string is as follows:

jdbc:oracle:thin:@<dbname_priority>?

For example, jdbc:oracle:thin:@dbtest_medium?

SQL Server
Connection Type

Specifies the type of connection you want to use. Select Use Native Connection to connect using the API provided by the SQL Server Native client software. Select Use ODBC Data Source to connect using the ODBC data source that you have defined. Select Use JDBC Connection to connect using JDBC.

Instance

Specifies the JDBC instance to which you want to connect.

Database

Specifies the name of the database that you want to connect to.

Connection String

Specifies the connection string based on your JDBC instance and SQL Server database name in the following format:

jdbc:sqlserver://<servername>:1433=<SqlDBname>

For example, jdbc:sqlserver://localhost:1433

Azure SQL
Connection Type

Specifies the type of connection you want to use. Select Use Native Connection to connect using the API provided by the SQL Server Native client software. Select Use ODBC Data to connect using the ODBC data source that you have defined. Select Use JDBC Connection to connect using JDBC.

Instance

Specifies the JDBC instance to which you want to connect.

Database

Specifies the name of the database that you want to connect to.

Connection String

Specifies the connection string based on your JDBC instance and SQL Server database name in the following format:

jdbc:sqlserver://<servername>:<port>
For example, jdbc:sqlserver://localhost:1433

Connect to Managed Instance

Specifies whether the connection should be to an Azure SQL Managed Instance.

Azure Synapse

Connection Method

Specifies the type of connection you want to use. Select JDBC to connect using JDBC.

Connection String

Specifies the connection string based on your JDBC instance and Azure Synapse database namein the following format:

jdbc: sqlserver://<server name>.sql.azuresynapse.net:1433;

For example, jdbc:sqlserver://localhost.sql.azuresynapse.net:1433;

Database

Specifies the name of the database that you want to connect to.

MySQL
Hostname/IP

Specifies the hostname or IP address of the server where your database is hosted.

Port

Specifies the port configured for your database.

Database

Specifies the name of the database to which you want to connect.

Note: For the JDBC connection to work seamlessly, ensure that you download the required JDBC driver and rename it to mysql-connector-java-8.0.22.jar.

MariaDB
Connection String

Specifies the connection string in the following format:

jdbc:mariadb

Hostname/IP

Specifies the hostname or IP address of the server where your database is hosted.

Port

Specifies the port configured for your database.

Database

Specifies the name of the database to which you want to connect.

Note: For the JDBC connection to work seamlessly, ensure that you download the required JDBC driver and rename it to mariadb-java-client-2.6.1.jar.

SAP ASE

Connection Method

Specifies the type of connection you want to use. Select Use JDBC Connection to connect using JDBC.

Server

Specifies the name of the server where the database is installed.

Database

Specifies the name of the database that you want to connect to.

Connection String

Specifies the connection string based on your JDBC instance and SAP ASE database name in the following format:

jdbc:sybase:Tds:<servername>:5000
For example, jdbc:sybase:Tds:localhost:5000

Snowflake

Connection String

Specifies the connection string based on your JDBC instance and Snowflake database name. For example, jdbc:snowflake://<account_name>.snowflakecomputing.com/

Connection String is a mandatory parameter.

Database

Specifies the name of the database that you want to connect to.

Database is a mandatory parameter.

Warehouse

Specifies the name of the warehouse that you want to connect to.

Warehouse is a mandatory parameter.

Role

Specifies the role that you want to use to connect to the database.

Role is a mandatory parameter.

Schema

Specifies the name of the schema that you want to connect to.

Cassandra
Connection Method

Specifies the type of connection you want to use. Select Direct to connect to connect to your cluster directly. Select Connection String to connect to your cluster using a connection string.

Hostname/IP

Specifies the hostname or IP address of the server where your cluster is hosted.

Port

Specifies the port configured for your cluster.

Connection String

Specifies the path to the secure connect ZIP file in the following format:

C:\<file name>.zip

For example, C:\TempCass\secure-connect-testdb.zip

Couchbase
Connection Method

Specifies the type of connection you want to use. Select Direct to connect to connect to your bucket directly. Select Connection String to connect to your bucket using a connection string.

Hostname/IP

Specifies the hostname or IP address of the server where your bucket is hosted.

Port

Specifies the port configured for your bucket.

Bucket

Specifies the name of the bucket to which you want to connect.

SSL Certificate Path

Specifies the path to the SSL certificate, if you have one. You can leave this field blank.

Connection String

Specifies the connection string in the following format:

couchbases://<database server>/<bucket>?ssl=no_verify

For example, couchbases://server1.dp.cloud.couchbase.com/testbucket?ssl=no_verify

MongoDB
Connection Method

Specifies the type of connection you want to use. Select Direct to connect to connect to your database directly. Select Connection String to connect to your database using a connection string.

Hostname/IP

Specifies the hostname or IP address of the server where your database is hosted.

Port

Specifies the port configured for your database.

Database

Specifies the name of the database to which you want to connect.

Connection String

Specifies the connection string in the following format:

mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]

For example, mongodb+srv://myusername:****
@cluster0.v7gra.mongodb.net/test?retryWrites=true&w=majority

For more information on database connection parameters, refer to the Database Connection Parameters topic.