Thread: Persistent connections

Persistent connections

From
kulmacet101@kulmacet.com
Date:
All,

Could someone send me a properly formatted dsn string connecting PHP to a
Postgres database using the 'PDO::ATTR_PERSISTENT => true' attribute?

I am having issues making this work correctly.

Any Support appreciated,

Kulmacet


Re: Persistent connections

From
Chris
Date:
kulmacet101@kulmacet.com wrote:
> All,
>
> Could someone send me a properly formatted dsn string connecting PHP to a
> Postgres database using the 'PDO::ATTR_PERSISTENT => true' attribute?
>
> I am having issues making this work correctly.

Example #4 here shows it:

http://www.php.net/manual/en/pdo.connections.php

What issues are you having exactly?

--
Postgresql & php tutorials
http://www.designmagick.com/