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

MySQL

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

  • MySQL is a popular, open-source relational database widely used as the backend of web applications. It supports multiple operating systems, such as Windows, Linux, Unix, and macOS X. MySQL features high performance, reliability, and flexibility, and is popular among enterprises and developers.
  • The default MySQL port number is 3306. The administrator can change the port number as required. MySQL supports multiple storage engines, including InnoDB, MyISAM, and MEMORY. Each storage engine has its own pros and cons and can be configured flexibly.

Creating a MySQL 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 MySQL 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.

    IP Address

    Enter the IP address of the database.

    Port

    Enter the port number to which the database is connected.

    Database Name

    Enter the name of the database to be connected.

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