当前位置:网站首页>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 ?
边栏推荐
- Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
- [complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
- Function: find the approximate value of the limit of the ratio of the former term to the latter term of Fibonacci sequence. For example, when the error is 0.0001, the function value is 0.618056.
- Sorry, Tencent I also refused
- Pair
- GUI 应用:socket 网络聊天室
- Struct in linked list
- 国元证券开户是真的安全可靠吗
- Arc 135 supplementary report
- CesiumJS 2022^ 源码解读[8] - 资源封装与多线程
猜你喜欢

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

Characteristics of ginger

功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。

The difference between objects and objects

It is worthy of "Alibaba internal software test interview notes" from beginning to end, all of which are essence

Function: find the sum of the elements on the main and sub diagonal of the matrix with 5 rows and 5 columns. Note that the elements where the two diagonals intersect are added only once. For example,

Regular expression of shell script value

“疫”起坚守 保障数据中台服务“不打烊”

What does redis do? Redis often practices grammar every day

功能:将主函数中输入的字符串反序存放。例如:输入字符串“abcdefg”,则应输出“gfedcba”。
随机推荐
Fundamentals of machine learning: feature selection with lasso
be based on. NETCORE development blog project starblog - (14) realize theme switching function
Future source code view -juc series
system. Exit (0) and system exit(1)
Alibaba test engineer with an annual salary of 500000 shares notes: a complete set of written tests of software testing
Eight year test old bird, some suggestions for 1-3 year programmers
Global and Chinese markets of distributed control system (DCS) consumption 2022-2028: Research Report on technology, participants, trends, market size and share
What is the GPM scheduler for go?
The super fully automated test learning materials sorted out after a long talk with a Tencent eight year old test all night! (full of dry goods
【.NET+MQTT】.NET6 环境下实现MQTT通信,以及服务端、客户端的双边消息订阅与发布的代码演示
Oracle database knowledge points (I)
CesiumJS 2022^ 源码解读[8] - 资源封装与多线程
功能:将主函数中输入的字符串反序存放。例如:输入字符串“abcdefg”,则应输出“gfedcba”。
Makefile judge custom variables
Self study software testing. To what extent can you go out and find a job?
STM32 key light
Celebrate the new year | Suihua fire rescue detachment has wonderful cultural activities during the Spring Festival
Is the account opening of Guoyuan securities really safe and reliable
Stock price forecast
Qtcharts notes (V) scatter diagram qscatterseries