I need to make query log from only one table in MySQL database.
I have lot of sites connected to my database, so I can't set query log directly on mysql.
I have error which occurs on average once a week. A strange coincidence.
I want to save logs from whole page.
How to set up query log to file on CakePHP 2.x?
-
Consider looking at this thread, should apply to cakePHP2 stackoverflow.com/questions/4721052/…JGarberi– JGarberi2014-07-10 13:54:28 +00:00Commented Jul 10, 2014 at 13:54
-
I try to use this method.mateusz.szymborski– mateusz.szymborski2014-07-10 13:56:39 +00:00Commented Jul 10, 2014 at 13:56
-
I tried method from THERE. But I get error Datasource class could not be found.mateusz.szymborski– mateusz.szymborski2014-07-10 14:07:05 +00:00Commented Jul 10, 2014 at 14:07
-
And I don't have folder dbo and any driver there(because its 2.x). How to do this?mateusz.szymborski– mateusz.szymborski2014-07-10 14:14:10 +00:00Commented Jul 10, 2014 at 14:14
Add a comment
|