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

Subscribe to our news:
Partners
Testimonials
Christian Novak: "Really good Job! I love this software and will buy it soon! Greetings from Austria".
Fred Hildenbrand: "I have purchased MySQL Maestro and like it very much, it has made it much easier to deal with DBA maintenance and table replication as well as a quick way to create SQL statements with the graphical query tool. Good job on a fine 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