Zend Framework, Db Profiler

The simplest and the just awesome way to enable Db Profiler (as we say dump queries) in Zend Framework is just add some params to you configuration file. In my case it is application.ini:

resources.db.adapter = 'pdo_mysql'
resources.db.params.host = 'localhost'
resources.db.params.username = 'username'
resources.db.params.password = 'password'
resources.db.params.dbname = 'database'

resources.db.params.profiler.enabled = true
resources.db.params.profiler.class = "Zend_Db_Profiler_Firebug"

Install FirePHP and after reload you will see something like this: