create trigger in procedure mysql code example
Example: Create Trigger in phpMyAdmin
CREATE TRIGGER after_update
AFTER UPDATE ON hodm
FOR EACH ROW
INSERT INTO hodm_log
SET log_action = 'update',
user_name = NEW.user_name,
log_timestamp = NOW();