Persistent connections

View: New views
2 Messages — Rating Filter:   Alert me  

Persistent connections

by kulmacet101 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


--
Sent via pgsql-php mailing list (pgsql-php@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

Re: Persistent connections

by chris smith-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kulmacet101@... 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/


--
Sent via pgsql-php mailing list (pgsql-php@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php