文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

10.15.6 权限检查10.15.6 Privilege Checking

在使用 SQL SECURITY DEFINER 视图或存储例程的复杂场景中,用户可能因为在这些对象上缺少某些额外权限而被拒绝查看其查询的跟踪。在这种情况下,跟踪将显示为空,INSUFFICIENT_PRIVILEGES 列将显示“1”。In complex scenarios where the query uses SQL SECURITY DEFINER views or stored routines, it may be that a user is denied from seeing the trace of its query because it lacks some extra privileges on those objects. In that case, the trace will be shown as empty and the INSUFFICIENT_PRIVILEGES column will show "1".