Skip to content

[Doc] add type=mysql in smt of flink cdc doc #37689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/en/loading/Flink_cdc_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ To synchronize data from MySQL in real time, the system needs to read data from

```Bash
[db]
type = mysql
host = xxx.xx.xxx.xx
port = 3306
user = user1
Expand Down Expand Up @@ -214,7 +215,8 @@ To synchronize data from MySQL in real time, the system needs to read data from
flink.starrocks.sink.buffer-flush.interval-ms=15000
```

- `[db]`: MySQL connection information.
- `[db]`: information used to access the source database.
- `type`: type of the source database. In this topic, the source database is `mysql`.
- `host`: IP address of the MySQL server.
- `port`: port number of the MySQL database, defaults to `3306`
- `user`: username for accessing the MySQL database
Expand Down
4 changes: 3 additions & 1 deletion docs/zh/loading/Flink_cdc_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ displayed_sidebar: "Chinese"

```Bash
[db]
type = mysql
host = xxx.xx.xxx.xx
port = 3306
user = user1
Expand Down Expand Up @@ -206,7 +207,8 @@ displayed_sidebar: "Chinese"
flink.starrocks.sink.buffer-flush.interval-ms=15000
```

- `[db]`:MySQL 的连接信息。
- `[db]`:源数据库的连接信息。
- `type`:源数据库类型,本示例中源数据库为 `mysql`。
- `host` :MySQL 所在服务器的 IP 地址。
- `port`:MySQL 端口号,默认为`3306`。
- `user` :用户名。
Expand Down