数据传输服务DTS

数据库连接失败(Communications link failure)

2023-10-24 07:25:08

场景描述

包含全量迁移/同步的任务,在进行全量迁移时失败,错误日志信息包含“Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server”。

关键词

Communications link failure

可能原因

访问源库或目标库时建立连接失败。

修复方法

  1. 检查源库或目标库是否处于正常运行状态;

  2. 检查源库或目标库与DTS实例之间的网络是否正常连通;

  3. 检查DTS的实例IP是否在源库或目标库远程访问的白名单中;

  4. 恢复数据库正常连接后,重启任务。


8HVMhOC7usMq