tencent cloud

Data Transfer Service

View Check

下载
聚焦模式
字号
最后更新时间: 2026-02-11 14:55:09
本文档由 AI 翻译

Check Details

Check requirements: when exporting a view structure, DTS will check whether user1 corresponding to DEFINER ([DEFINER = user1]) in the source database is the same as user2 in the migration target.
If they are the same, do not modify the settings after migration.
If they are different, change the SQL SECURITY attribute of user1 in the target database after migration from DEFINER to INVOKER ([INVOKER = user1]), and set the DEFINER in the target database to user2 of the migration target ([DEFINER = migration target user2]).
Check description: the SQL SECURITY parameter indicates according to whose permissions the system runs the command when a user accesses the specified view.
DEFINER: only the definer can run the command.
INVOKER: only invokers with the invocation permissions can run the command. By default, DEFINER is specified by the system.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈