Updated on 2024-07-17 GMT+08:00

Sql Server

The SQL Server connector is used to connect to the SQL Server database by establishing and maintaining the connection between applications and the database, and managing data transmission.

  • SQL Server is an easy-to-use relational database featuring high scalability.
  • The default SQL Server port number is 1433. The administrator can change the port number as required.

Creating an SQL Server Connection

  1. Log in to the new ROMA Connect console.
  2. In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
  3. Select the SQL Server connector.
  4. In the dialog box displayed, configure the connector and click OK.

    Parameter

    Description

    Name

    Enter the connector instance name.

    Region

    Select a region.

    Project

    Select a project.

    Instance

    Select an instance for subsequent connectivity verification.

    Connection and Security

    Select the connection mode for the database. Currently, the Default mode is supported.

    • Default: The system automatically concatenates data source connection character strings based on configured data.
    • Professional: You need to specify the data source connection string manually.

    IP Address

    Required when Connection and Security is set to Default.

    Enter the IP address of the database.

    Port

    Required when Connection and Security is set to Default.

    Enter the port number to which the database is connected.

    Database Name

    Required when Connection and Security is set to Default.

    Enter the name of the database to be connected.

    Connection String

    Required when Connection and Security is set to Professional.

    Enter the JDBC connection string of the SQL Server database, for example, jdbc:sqlserver://{hostname}:{port};DatabaseName={dbname}.

    Username

    Enter the username used to connect to the database.

    Password

    Enter the password used to connect to the database.

    Description

    Enter the description of the connector to identify it.

Action

Getting database changes

To obtain database changes in real time, enable CDC in the database.

Parameters

Table 1 Getting database changes

Parameter

Description

Table Name

Enter or select the name of the data table to get data changes.

Database Operations

Select the change operation on the database.