当前位置:网站首页>MySQL utilise la vue pour signaler les erreurs, Explicit / show ne peut pas être publié; Verrouillage des fichiers privés pour la table sous - jacente
MySQL utilise la vue pour signaler les erreurs, Explicit / show ne peut pas être publié; Verrouillage des fichiers privés pour la table sous - jacente
2022-07-04 01:29:00 【Questions et réponses du rseoc】
Il y a une liste des employésstaff
Ajouter une vue,Lire seulement2Champs
CREATE VIEW staff_view AS SELECT name
,mobile FROM staff;
Ajouter des permissions de vue
GRANT select, SHOW VIEW ON staff_view TO 'test'@'%' IDENTIFIED BY 'test';
Lors de l'interrogation de la vue,Message d'erreur EXPLAIN/SHOW can not be issued; lacking privileges for underlying table
Internet dit que c'est parce qu'il n'y a pas destaffAugmentation du tableauselectAutorité
Mais l'un des rôles de la vue n'est - ce pas pour la sécurité,SistaffLe tableau augmente les permissions de visualisation,Ce n'est pas juste de vérifier la table?staff_viewÇa n'a pas marché comme prévu?
边栏推荐
- 我管你什么okr还是kpi,PPT轻松交给你
- How can enterprises optimize the best cost of cloud computing?
- Luogu p1309 Swiss wheel
- Solution of cursor thickening
- gslb(global server load balance)技术的一点理解
- Ka! Why does the seat belt suddenly fail to pull? After reading these pictures, I can't stop wearing them
- 2020-12-02 SSM advanced integration Shang Silicon Valley
- Openbionics exoskeleton project introduction | bciduino community finishing
- [common error] UART cannot receive data error
- MySQL - use of aggregate functions and group by groups
猜你喜欢
Three layer switching ①
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
我管你什么okr还是kpi,PPT轻松交给你
Introduction to A-frame virtual reality development
Conditional test, if, case conditional test statements of shell script
LeetCode226. Flip binary tree
In the process of seeking human intelligent AI, meta bet on self supervised learning
2-redis architecture design to use scenarios - four deployment and operation modes (Part 2)
Lightweight Pyramid Networks for Image Deraining
Weekly open source project recommendation plan
随机推荐
PMP 考试常见工具与技术点总结
How can enterprises optimize the best cost of cloud computing?
Mongodb learning notes: command line tools
Oracle database knowledge points (I)
In the process of seeking human intelligent AI, meta bet on self supervised learning
“疫”起坚守 保障数据中台服务“不打烊”
Print diamond pattern
The first training of wechat applet
1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)
Gee: create a new feature and set corresponding attributes
Conditional test, if, case conditional test statements of shell script
Hbuilder link Xiaoyao simulator
Do you know the eight signs of a team becoming agile?
C library function int fprintf (file *stream, const char *format,...) Send formatted output to stream
Msp32c3 board connection MSSQL method
How to use AHAS to ensure the stability of Web services?
Idsia & supsi & usi | continuous control behavior learning and adaptive robot operation based on Reinforcement Learning
Related configuration commands of Huawei rip
Solution of cursor thickening
Huawei cloud micro certification Huawei cloud computing service practice has been stable