Log MySQL Query In Kohana 3

Posted by Asif on Stack Overflow See other posts from Stack Overflow or by Asif
Published on 2010-06-17T09:08:39Z Indexed on 2010/06/18 10:13 UTC
Read the original article Hit count: 403

Filed under:
|
|

Hi All,

I am using Kohana 3. I want to log the MySQL queries being executed by an application. The reason to determine the query of type INSERT,UPDATE and DELETE which are being executed in a process and store them in another MySQL table with date-time for further reference.

Can anybody tell how can I achieve this?

© Stack Overflow or respective owner

Related posts about mysql-query

Related posts about log