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

Subscribe to our news:
Partners
Testimonials
Torstein Krogh: "Some time ago, I tested all available tools on the market for maintaining MySQL and MySQL Maestro came up on top. My opinion is that MySQL should offer it as a free tool for all paying customers! They have nothing today, and doing MySQL DOS commands is not getting any new customers".
Michael Dunn: "We're good to go though, thank you again, this is by far the best MySQL interface I've had the opportunity to work with".

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