Zend application.ini database connection

Here is example for application.ini:

resources.db.adapter = "PDO_MYSQL"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.dbname = "sakila"
resources.db.isDefaultTableAdapter = true

To access default db adapter use:

Zend_Db_Table::getDefaultAdapter()