Mysql trigger for logging with referer

172 Views Asked by At

I am trying to implement a logger that logs all inserts, updates and deletes on a specific table.

For this I use the simple way described here: https://www.jicdesign.com/blog/3964-2/

Is there an option to log the triggering PHP script (scriptname) or the IP address of the call as well? I would like to be able to make the conclusion: This script (or this IP address) made the following change at a certain point in time: xxxxx

0

There are 0 best solutions below