当前位置:网站首页>MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
2022-07-04 00:50:00 【CSDN Q & A】
There is an employee list staff
Add view , Read only 2 A field
CREATE VIEW staff_view AS SELECT name,mobile FROM staff;
Add view permissions
GRANT select, SHOW VIEW ON staff_view TO 'test'@'%' IDENTIFIED BY 'test';
When querying the view , Wrong presentation EXPLAIN/SHOW can not be issued; lacking privileges for underlying table
It's said on the Internet because I didn't give staff Table increase select jurisdiction
But isn't one of the functions of view for security , If staff View permission is added to the table , Then just look up the table directly ?staff_view It didn't play its due role ?
边栏推荐
- [error record] configure NDK header file path in Visual Studio
- Fundamentals of machine learning: feature selection with lasso
- Interview script of Software Test Engineer
- 老姜的特点
- 关于 uintptr_t和intptr_t 类型
- Sequence list and linked list
- 2-Redis架构设计到使用场景-四种部署运行模式(下)
- “疫”起坚守 保障数据中台服务“不打烊”
- 中电资讯-信贷业务数字化转型如何从星空到指尖?
- 不得不会的Oracle数据库知识点(二)
猜你喜欢

Eight year test old bird, some suggestions for 1-3 year programmers

Function: store the strings entered in the main function in reverse order. For example, if you input the string "ABCDEFG", you should output "gfedcba".

Analysis: misunderstanding of choosing WMS warehouse management system

1-Redis架构设计到使用场景-四种部署运行模式(上)

老姜的特点

Alibaba test engineer with an annual salary of 500000 shares notes: a complete set of written tests of software testing

Thinkphp6 integrated JWT method and detailed explanation of generation, removal and destruction

Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution

A dichotomy of Valentine's Day

Mobile asynchronous sending SMS verification code solution -efficiency+redis
随机推荐
Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
[software testing] you haven't mastered these real interview questions of big companies?
The difference between fetchtype lazy and eagle in JPA
A-Frame虚拟现实开发入门
【.NET+MQTT】.NET6 环境下实现MQTT通信,以及服务端、客户端的双边消息订阅与发布的代码演示
AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
On covariance of array and wildcard of generic type
使用dnSpy对无源码EXE或DLL进行反编译并且修改
What does redis do? Redis often practices grammar every day
Beijing invites reporters and media
Cloud dial test helps Weidong cloud education to comprehensively improve the global user experience
技术实践|线上故障分析及解决方法(上)
Understanding of Radix
Qtcharts notes (V) scatter diagram qscatterseries
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
Release and visualization of related data
(Introduction to database system | Wang Shan) Chapter V database integrity: Exercises
All in one 1407: stupid monkey
[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)