I commented that I am making a log of changes on a table in mysql, I have the trigger that runs every time I update, insert or delete and I also have the table where I save the changes, the sentence with which I save the user which made the change is: current_user () but this statement only returns root @ localhost. My question is, there is a way to save the user that invokes the trigger, if not, they recommend me to solve my problem ... Thank you very much in advance