Skip to content
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

drainer: add read-timeout configuration explanation (#11674) #11681

Merged
Merged
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
1 change: 1 addition & 0 deletions tidb-binlog/tidb-binlog-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ tbl-name = "~^a.*"
* `port`:如果没有设置,会尝试检查环境变量 `MYSQL_PORT`,默认值为 `3306`。
* `user`:如果没有设置,会尝试检查环境变量 `MYSQL_USER`,默认值为 `"root"`。
* `password`:如果没有设置,会尝试检查环境变量 `MYSQL_PSWD`,默认值为 `""`。
* `read-timeout`:指定下游数据库连接的 IO 读取超时时间,默认值为 `1m`。如果 drainer 在一些耗时长的 DDL 上不断失败,你可以将这个变量设置为更大的值。

#### file

Expand Down