How to log SQL Create,Update,Delete only?

U can parse the mysql bin log and track it.

Wai, I don’t think it is a good idea to use database triggers to write to log files, if you mean that.
You can write a trigger that logs changes to a database table from which you can then SELECT from.

Erik