we are using mysql 5.1.39.
a) how to know which user or through which machine a particular statement was executed.
Is it through bin logs or log file.
b) If we don't know exactly the time when the update/insert statement was run to look into the binlog, but know the primary id and the date we need to check for any modifications done. How to look into this.