Online Documentation for SQL Manager for MySQL

Managing database-specific privileges


The Database-specific privileges area allows you to define privileges on database objects and grant privileges to a user.

 

Note: This area is available for setting grants on database objects when a database is selected in the Host or Database group of the Navigation bar (or toolbar).

 

To edit the privileges of a user on an object of a database, select the database using the Host or Database pane of the Navigation bar, then select a user from the Privileges for list available within the Navigation bar. Then select the type of objects to be displayed in the main working window using the drop-down list at the top.

 

The Object Name column contains the list of objects of the selected type; each subsequent column corresponds to the permission which can be granted on the selected object:

SEL, INS, UPD, DEL, CRT, DROP, REF, IND, TRIG, ALT (for tables, views);

EXEC, ALTER ROUTINE (for procedures, functions).

 

Grant Manager - Managing database-specific privileges

 

 

The list of objects can be configured in several ways: you can specify that only granted objects are displayed in the grid, or define an object name to filter the objects by that name.

 

Right-click a cell to grant a specific permission on a certain object. To grant a permission on an object, you should find the object in the Object Name list and the column with the corresponding permission. Note that the cells that are highlighted gray do not admit to setting grants for an obvious reason (e.g. you cannot execute a table). The context menu of a cell contains possible permissions that can be granted:

iconGrantManager_Grant Grant

iconGrantManager_GrantWithGrantOption Grant with GRANT OPTION

iconGrantManager_Revoke Revoke (removes a previously granted permission)

iconGrantManager_GrantAll Grant All

iconGrantManager_GrantAllWithGrantOption Grant All with GRANT OPTION

iconGrantManager_RevokeAll Revoke All

iconGrantManager_GrantOnAll Grant on All

iconGrantManager_GrantWithGrantOptionOnAll Grant on All with GRANT OPTION

iconGrantManager_RevokeOnAll Revoke on All

TickGrant All on All

TickGrant All on All with GRANT OPTION

TickRevoke All on All

 

 

Hint: You can also assign privileges by double-clicking the respective cell - in this case the grant status is changed in the following order: Grant -> Revoke.