文档首页/
    
      
      数据复制服务 DRS/
      
      
        
        
        故障排除/
        
        
        失败案例/
        
        
        MySQL->MySQL实时迁移和同步/
        
      
      全量阶段失败报错,关键词“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”
    
  
  
    
        更新时间:2024-11-29 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
全量阶段失败报错,关键词“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”
场景描述
全量迁移或同步期间DRS任务报错,日志提示信息:service DATAMOVE failed, cause by: Unable to connect to DBMS: url=jdbc:mysql://*** user=root, Caused by: 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。
可能原因
访问源库或目标库时建立连接失败。
解决方案
- 检查源库或目标库运行状态是否正常。
- 检查DRS实例和源库或目标库之间的网络是否能够连通。
- 检查源库或目标库远程访问或者访问白名单是否放通DRS的实例IP。
   父主题: MySQL->MySQL实时迁移和同步
  
  
    