Skip to content

Commit 246ad89

Browse files
hellolilyliuyimergify[bot]
authored andcommitted
[Doc] add type=mysql in smt of flink cdc doc (#37689)
Signed-off-by: hellolilyliuyi <[email protected]> Signed-off-by: hellolilyliuyi <[email protected]> (cherry picked from commit 9fbde40)
1 parent bd27d24 commit 246ad89

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/en/loading/Flink_cdc_load.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ To synchronize data from MySQL in real time, the system needs to read data from
177177

178178
```Bash
179179
[db]
180+
type = mysql
180181
host = xxx.xx.xxx.xx
181182
port = 3306
182183
user = user1
@@ -210,7 +211,8 @@ To synchronize data from MySQL in real time, the system needs to read data from
210211
flink.starrocks.sink.buffer-flush.interval-ms=15000
211212
```
212213

213-
- `[db]`: MySQL connection information.
214+
- `[db]`: information used to access the source database.
215+
- `type`: type of the source database. In this topic, the source database is `mysql`.
214216
- `host`: IP address of the MySQL server.
215217
- `port`: port number of the MySQL database, defaults to `3306`
216218
- `user`: username for accessing the MySQL database

docs/zh/loading/Flink_cdc_load.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ displayed_sidebar: "Chinese"
169169

170170
```Bash
171171
[db]
172+
type = mysql
172173
host = xxx.xx.xxx.xx
173174
port = 3306
174175
user = user1
@@ -202,7 +203,8 @@ displayed_sidebar: "Chinese"
202203
flink.starrocks.sink.buffer-flush.interval-ms=15000
203204
```
204205

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

0 commit comments

Comments
 (0)