MySQL: To show GRANTs on a trigger

 


SELECT 

    TRIGGER_SCHEMA, 

    TRIGGER_NAME, 

    EVENT_OBJECT_TABLE AS 'TABLE_NAME', 

    DEFINER 

FROM information_schema.TRIGGERS 

WHERE TRIGGER_NAME = 'after_mao_inventory_insert';



SELECT 

    TRIGGER_SCHEMA, 

    TRIGGER_NAME, 

    DEFINER 

FROM information_schema.TRIGGERS 

WHERE TRIGGER_NAME = 'after_mao_inventory_insert';

Comments

Popular posts from this blog

PeopleSoft: Clean Up PUM

Postgres: Clean up stopped replication slot