Skip to content

Commit 4a69657

Browse files
hellolilyliuyiZhangg7723
authored andcommitted
[Doc] add type=mysql in smt of flink cdc doc (StarRocks#37689)
Signed-off-by: hellolilyliuyi <[email protected]> Signed-off-by: hellolilyliuyi <[email protected]> Signed-off-by: 张敢 <[email protected]>
1 parent d5e33f2 commit 4a69657

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
@@ -181,6 +181,7 @@ To synchronize data from MySQL in real time, the system needs to read data from
181181

182182
```Bash
183183
[db]
184+
type = mysql
184185
host = xxx.xx.xxx.xx
185186
port = 3306
186187
user = user1
@@ -214,7 +215,8 @@ To synchronize data from MySQL in real time, the system needs to read data from
214215
flink.starrocks.sink.buffer-flush.interval-ms=15000
215216
```
216217

217-
- `[db]`: MySQL connection information.
218+
- `[db]`: information used to access the source database.
219+
- `type`: type of the source database. In this topic, the source database is `mysql`.
218220
- `host`: IP address of the MySQL server.
219221
- `port`: port number of the MySQL database, defaults to `3306`
220222
- `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
@@ -173,6 +173,7 @@ displayed_sidebar: "Chinese"
173173

174174
```Bash
175175
[db]
176+
type = mysql
176177
host = xxx.xx.xxx.xx
177178
port = 3306
178179
user = user1
@@ -206,7 +207,8 @@ displayed_sidebar: "Chinese"
206207
flink.starrocks.sink.buffer-flush.interval-ms=15000
207208
```
208209

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

0 commit comments

Comments
 (0)