Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Padster Reynolds: "Good software that has become one of our must have tools - wouldn't like to be without it these days. Keep up the good work".
Peter W Rasmussen: "Just checking out on MySQL Maestro - really nice product".

More

Add your opinion

SQL Maestro for MySQL online help

Prev Return to chapter overview Next

Roles

A role bundles a number of privileges together. It assists larger organizations where, typically, a number of users would have the same privileges, and, previously, the only way to change the privileges for a group of users was by changing each user's privileges individually.

 

Alternatively, multiple external users could have been assigned the same user, and there would have been no way to see which actual user was responsible for which action.

 

With roles, managing this is easy. For example, there could be a number of users assigned to a journalist role, with identical privileges. Changing the privileges for all the journalists is a matter of simply changing the role's privileges, while the individual user is still linked with any changes that take place.

 

Roles are supported as of MySQL 8.0 and MariaDB 10.0.5.

 

 

 

New roles are created within Create Role Wizard. In order to run the wizard you should either

 

select the Roles list or any object from that list in the explorer tree and then use the Create New Role item from the popup menu

or

open the server in Server Editor and the Roles tab there and press Insert or select the Create New Role item from the popup menu (Alternatively, use the corresponding link of the Navigation Bar).

 

 

 

Roles are edited within Role Editor. In order to open the editor you should either

 

select the role for editing in the explorer tree (type the first letters of the role name for quick search);
select the Edit Role item from the popup menu

or

open the server in Server Editor and the Roles tab there;
select the role to edit;
press the Enter key or select the Edit Role item from the popup menu (alternatively, you can use the corresponding link of the Navigation Bar).

 

 

 

To drop the existing role:

 

select the role to drop in the explorer tree;
select the Drop Role item from the popup menu(alternatively, you may use the corresponding link of the Navigation Bar)

 

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next