全量阶段失败报错,关键词“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。