Granting Privileges on Database Objects

Privileges on database objects can be granted on the Object Privileges tab of the Security Manager. To open the Security Manager, select Security Manager on the Database menu.

To give user some privileges on a database object, perform the following actions.

  1. Open the Security Manager.
  2. Select a user account in the user account list in the left part of Security Manager and switch to the Object Privileges tab.

  3. Select a database object to grant privileges in the Objects tree. After selecting an object, you will see a list of available privileges.
  4. Assign the privileges to a user (account) by checking them in the available privileges list.
  5. Click the Save button on the Security Manager toolbar.

The grid below the Object Privileges tab of Security Manager contains the current privileges of the user (account). You can revoke a selected privilege by double-clicking it, clicking Revoke Selected Privilege on their shortcut menu, by pressing CTRL+DELETE keys, or by clicking the button next to the list.

To revoke all assigned privileges, select Revoke All Privileges on their shortcut menu or click the button near the list.

Available privileges for different database objects are listed at the table below:

Database objects Privileges
Databases Select, Insert, Update, Delete, Alter, Alter Routine, Create, Create Routine, Create Temporary Tables, Create View, Drop, Event, Execute, Grant Option, Index, Lock Tables, References, Show View, Trigger
Tables Select, Insert, Update, Delete, Create, Drop, Grant Option, References, Index, Alter, Create View, Show View, Trigger
Columns Select, Insert, Update, References
Stored procedures and functions Alter Routine, Execute, Grant Option

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All Features

All features

Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
Request a demo

Request a demo

If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for MySQL?