MySQL Triggers: How to know which script called it?

drumicube

New Member
I have a mysql trigger that logs every time a specific table is updated.Is there a way to also log WHICH PHP SCRIPT triggered it? (without modifying each php script of course, that would defeat my purpose)Also, is there a way to log what was the SQL statement right before the UPDATE that triggered it?ThanksNathan
 
Top