Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4.8
-
None
-
CentOS 7
Description
currently I already have user like this 'app_user'@'10.148.0.0/255.255.240.0' and I have the trigger with definer like this
CREATE DEFINER=`app_user`@`10.148.0.0/255.255.240.0` TRIGGER usertable_delete_audit |
but when apps insert data i got this error
trigger command denied to user 'app_user'@'10.148.0.0/255.255.240.0' for table user table. |
and i tried create or replace the trigger using user app_user i got error message
Access denied; you need (at least one of) the SUPER privileges for this operation |
this is grant for user app_user
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON
|
this impact from user with specific host ? i mean because the user have grant like this 10.148.0.0/255.255.240.0. And the trigger only can give the access from specific ip