- MySQL 8 for Big Data
- Shabbir Challawala Jaydip Lakhatariya Chintan Mehta Kandarp Patel
- 190字
- 2021-08-20 10:06:04
Roles
In MySQL 8, the privileges module has been improved by introducing roles, which means a collection of permissions. Now we can create roles with a number of privileges and assign to multiple users.
The problem with the previous version was that we were not able to define generic permissions for a group of users and each user has individual privileges. Suppose if there are 1,000 users already existing that have common privileges, and you want to remove the write permissions for all of these 1,000 users, what would you have done in the previous version? You would take the lengthy approach of updating each and every user, right? Arrgh... that's a time-consuming task.
Now with MySQL 8, it is easy to update any change in privileges. Roles will define all the required privileges and this role will be assigned to those 1,000 users. We just need to make any privilege changes in the role and all users will automatically inherit the respective privileges.
Roles can be created, deleted, grant or revoked permission, granted or revoked from the user account, and can specify the default role within the current session.
- Redis Applied Design Patterns
- Arduino開發實戰指南:LabVIEW卷
- Unity 2020 Mobile Game Development
- Python計算機視覺編程
- 程序員考試案例梳理、真題透解與強化訓練
- 精通Scrapy網絡爬蟲
- Banana Pi Cookbook
- C#程序設計基礎:教程、實驗、習題
- Machine Learning in Java
- Data Science Algorithms in a Week
- HTML+CSS+JavaScript網頁制作:從入門到精通(第4版)
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Java高并發編程詳解:深入理解并發核心庫
- Python預測分析實戰
- Python繪圖指南:分形與數據可視化(全彩)