PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

Turn on Database Profiling in Kohana 2.x

Posted by teejay on April 10, 2010

If you're like me and have used Kohana through the 2.x versions, you might be used to seeing the profiler outputting the SQL queries.

In Kohana 2.4, the latest stable version of the 2.x series, it won't show by default.

$config['default'] = array
(
 'benchmark'     => FALSE // change to TRUE,
 'persistent'    => FALSE,
 'connection'    => array
 (
</snipped>

Categories: How To

Tags: kohana, profiling

1 Comments

Mag

I was wondering where that went. I never checked the database config file.

April 10th 2010

Comments are not allowed