MySQL Forums
Forum List  »  MySQL Workbench

Re: Individual field rights in the same table
Posted by: Barry Galbraith
Date: April 14, 2024 08:02PM

The Fine Manual describes privileges for MySQL.

https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html

My reading tells me you can define to a table (as well as other database objects) but not to field within a table.

You could define your "restricted" data as a VIEW and grant privilege to that object, and not the table the VIEW is taken from, if that suits you.

Good luck,
Barry.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Individual field rights in the same table
126
April 14, 2024 08:02PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.