Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r0761

D toc

You can create connections to one or more Microsoft SQL Server databases from

D s product


  • If you haven't done so already, you must create and deploy an encryption key file for the 
    D s node
     to be shared by all relational connections. For more information, see Create Encryption Key File
  • If you plan to create an SSO connection of this type, additional configuration may be required. See Enable SSO for Relational Connections.


To create this connection:

  • In the Import Data page, click the Plus sign. Then, select the Relational tab. Click the SQL Server card. 
  • You can also create connections through the Connections page. 
  • See Connections Page.

For additional details on creating a SQL Server connection, see Enable Relational Connections.

This connection can also be created using the API. 

Modify the following properties as needed:

Enter your hostname. Example:


Code Block
PortSet this value to 1433.
Connect String options

Insert any additional connection parameters, if needed. See below.

User Name(basic credential type only) Username to use to connect to the database.
Password(basic credential type only) Password associated with the above username.
Default Column Data Type Inference

Set to disabled to prevent the platform from applying its own type inference to each column on import. The default value is enabled.

Test ConnectionAfter you have defined the connection credentials type, credentials, and connection string, you can validate those credentials.
Connection NameDisplay name of the connection
Connection DescriptionDescription of the connection, which appears in the application.


Connection URL

The properties that you provide are inserted into the following URL, which connects 

D s product
 to the connection:

Code Block

Connect string options

The connect string options are optional. If you are passing additional properties and values to complete the connection, the connect string options must be structured in the following manner:

Code Block


  • <prop> : the name of the property
  • <val> : the value for the property


  • ; : any set of connect string options must begin and end with a semi-colon. 
  • = : property names and values must be separated with an equal sign (=).

Example connect string options

The following connect string contains several options. Please insert as a single string (no line breaks):

Code Block

Common connect string properties:

databaseSet this value to <database_name>, the name of the database to which to connect.

Set this value to true. Encrypted communication is required.


NOTE: You must deploy an encryption key file on the

D s node
. For more information, see Create Encryption Key File.


When set to true, the

D s node
does not validate the SQL Server TLS/SSL certificate. Default value is false.


Defines the host name in the server certificate.


NOTE: Do not modify this value unless required.


Number of seconds that the

D s node
attempts to login to the database server. Default is 30.


  • ; : any set of connect string options must begin and end with a semi-colon.
  • ; : all additional property names must be prefixed with a semi-colon.
  • = : property names and values must be separated with an equal sign (=).

Authentication options


You can use kerberos security for connecting to the database server. Additional configuration is required:

Driver Information

This connection uses the following driver:


Error messageDescription

“The TCP/IP connection to the host <hostname>, port <port> has failed”

The host is not accessible.

"Login failed for user'<username>'."

Permission denied. Please verify your credentials.


Tip: Click the Test Connection button to check the connection credentials.

"The certificate received from the remote server was issued by an untrusted certificate authority"

There was an issue with the trusted certificate on the SQL Server instance.

To disable validation of the certificate, add the following to the connection string options:

Code Block


For more information, see Database Browser.

Data Conversion

For more information on how values are converted during input and output with this database, see SQL Server Data Type Conversions.