To aid in assigning privileges to MySQL Server users,
MySQL Workbench introduces the concept of Administrative Roles.
Roles are a quick way of granting a set of privileges to a
user, based on the work the user must carry out on the server.
It is also possible to assign multiple roles to a user. To
assign roles, click the User Account you wish to modify, then
click the Administrative Roles tab. Then
click the check boxes according to the roles you wish to
allocate to the user. After you select a role to a user, you
will see the accumulated privileges in the Global
Privileges Assigned to User panel. For example, if
you select the role BackupAdmin, the
privileges granted include EVENT,
LOCK TABLES, SELECT,
SHOW DATABASES. If you also select the role
of ReplicationAdmin, the list of privileges
expands to include REPLICATION CLIENT,
REPLICATION SLAVE and
SUPER.
These roles are available:
DBA: Grants all privileges
MaintenanceAdmin: Grants privileges to maintain the server
ProcessAdmin: Grants privileges to monitor and kill user processes
UserAdmin: Grants privileges to create users and reset passwords
SecurityAdmin: Grants privileges to manage logins and grant and revoke server privileges
MonitorAdmin: Grants privileges to monitor the server
DBManager: Grants privileges to manage databases
DBDesigner: Grants privileges to create and reverse engineer any database schema
ReplicationAdmin: Grants privileges to set up and manage replication
BackupAdmin: Grants privileges required to back up databases

User Comments
Add your own comment.