MySQL Forums
Forum List  »  Security

Re: User Roles
Posted by: Chris Gillepie
Date: February 24, 2020 03:08PM

The code should read as below. The second line was incorrect.


CREATE ROLE r_admin, r_basic ;

GRANT Execute ON FUNCTION system_message TO 'r_basic';

GRANT 'r_basic' TO 'Test'@'%'

Options: ReplyQuote


Subject
Views
Written By
Posted
857
February 24, 2020 03:03PM
Re: User Roles
515
February 24, 2020 03:08PM
540
February 28, 2020 08:10AM
562
April 08, 2020 09:37AM


Sorry, you can't reply to this topic. It has been closed.

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.