文档首页/ 数据复制服务 DRS/ 故障排除/ 失败案例/ MySQL->MySQL实时迁移和同步/ 全量阶段失败报错,关键词“Access denied; you need (at least one of) the SUPER privilege(s) for this operation”
更新时间:2024-11-29 GMT+08:00

全量阶段失败报错,关键词“Access denied; you need (at least one of) the SUPER privilege(s) for this operation”

场景描述

全量迁移期间DRS任务报错,日志提示信息:service DATAMOVE failed, cause by: retry structures failed events=the fail structures are [type=function, index=2, schema_name=%s, object_name=%s]reason:[Access denied; you need (at least one of) the SUPER privilege(s) for this operation]

可能原因

客户选择了保留definer迁移,但是迁移账号又没有super权限。

解决方案

可参考RDS常见问题给目标库迁移账号增加super权限后重新提交任务,或者重建任务选择不迁移definer。