This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.

From time to time, it may be a good idea to have a persistent connection to database.

The place where it should be added that new configuration option is application.ini ( DotKernel approach as an example)

Do not try something like below, will not work:

database.params.options.PDO::ATTR_PERSISTENT = TRUE

 

Instead , use the below line

database.params.persistent = TRUE

One Comment

  1. How to Set a Persistent Connection to Database with Zend … - EtondeGroup Blog of Web Applications | EtondeGroup Blog of Web Applications

    […] rest is here: How to Set a Persistent Connection to Database with Zend … Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers […]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>