This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new e9c4633259 [INLONG-880][Sort] Add some attention in Mysql cdc (#881)
e9c4633259 is described below

commit e9c4633259993e79272c2b9c3f6aa1dd582c9c3a
Author: EpicMo <[email protected]>
AuthorDate: Fri Oct 13 17:14:04 2023 +0800

    [INLONG-880][Sort] Add some attention in Mysql cdc (#881)
---
 docs/data_node/extract_node/mysql-cdc.md                           | 7 +++++++
 .../current/data_node/extract_node/mysql-cdc.md                    | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/docs/data_node/extract_node/mysql-cdc.md 
b/docs/data_node/extract_node/mysql-cdc.md
index 2700539f9b..63ab038b57 100644
--- a/docs/data_node/extract_node/mysql-cdc.md
+++ b/docs/data_node/extract_node/mysql-cdc.md
@@ -72,6 +72,13 @@ When an initial consistent snapshot is made for large 
databases, your establishe
 - `interactive_timeout`: The number of seconds the server waits for activity 
on an interactive connection before closing it. See [MySQL 
documentations](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout).
 - `wait_timeout`: The number of seconds the server waits for activity on a 
noninteractive connection before closing it. See [MySQL 
documentations](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout).
 
+:::caution
+If you use MySQL with the version above 8.0 with SSL mode disable, you should 
try one of these to make connector work normally:
+- Giving RSA of server when connecting  
+- Enable `allowPublicKeyRetrieval` (Maybe cause MITM)  
+- Using MySQL native password mode (Do not recommend this for safety reason)  
+:::
+
 ## How to create a MySQL Extract Node
 
 ### Usage for SQL API
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/extract_node/mysql-cdc.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/extract_node/mysql-cdc.md
index 4a9aa55e4d..f023ebdb32 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/extract_node/mysql-cdc.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/extract_node/mysql-cdc.md
@@ -70,6 +70,13 @@ mysql> FLUSH PRIVILEGES;
 - `interactive_timeout`:服务器在关闭交互式连接之前等待其活动的秒数。请参阅 [MySQL 
文档](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout)。
 - `wait_timeout`:服务器在关闭非交互式连接之前等待其活动的秒数。请参阅 [MySQL 
文档](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout)。
 
+:::caution
+如果你使用的是 MySQL 8.0 及以上版本,你应该尝试下述操作中的一条以使得你的 Connector 工作正常:  
+- 连接时手动指定服务器 RSA 公钥  
+- 启用 `allowPublicKeyRetrieval` (可能会导致中间人攻击)   
+- 使用 MySQL native 密码模式 (因为安全原因,我们不推荐这个操作)  
+:::
+
 ## 如何创建一个 MySQL Extract 节点
 
 ### SQL API 用法

Reply via email to