文档首页/
    
      
      数据复制服务 DRS/
      
      
        
        
        故障排除/
        
        
        失败案例/
        
        
        MySQL->MySQL实时迁移和同步/
        
      
      全量阶段失败报错,关键词“The MySQL server is running with the --super-read-only option so it cannot execute this statement”
    
  
  
    
        更新时间:2024-11-29 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
全量阶段失败报错,关键词“The MySQL server is running with the --super-read-only option so it cannot execute this statement”
场景描述
全量迁移或同步期间DRS任务报错,日志提示信息:service DATAMOVE failed, cause by: retry structures failed events=the fail structures are [type=constraint_data, index=0, schema_name=%s, object_name=%s]reason:[The MySQL server is running with the --super-read-only option so it cannot execute this statement]
可能原因
DRS迁移索引时目标库处于只读状态,一般原因为目标库空间不足引起。
解决方案
- 请联系数据库运维工程师,检查目标数据库运行状态,修复数据库异常。
 - 待目标库状态正常后,在任务列表中,单击任务对应操作列的“续传”,重新提交任务。
 
   父主题: MySQL->MySQL实时迁移和同步