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 = TRUEInstead , use the below line
>database.params.persistent = TRUE