Need help with MySQL as it's not really my forte. So any help is appreciated.
I have issues on my site where UPDATE
or INSERT
were done with missing values. This caused some issues on other functions on the site, but I am not able to find where the UPDATE
or INSERT
were done in any of the classes.
Is there any way, maybe a MySQL trigger, that I could add to these tables that would allow me to store the original or full query of the UPDATE
or INSERT
. I have tried logging but that applies to the whole database and it takes up too much diskspace.
Thanks in advance for any replies.
PS: At the moment, the PHP classes are a bit messy as we're still in the development stage, so adding exceptions to the updates or inserts functions will take too much time. So please focus the answer to the question. Thanks again.