NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql_pconnect

Oktay Altunergil nyphp at altunergil.com
Thu Aug 29 11:10:02 EDT 2002


this might be misunderstanding.. are you sure this is for pconnect ?

php.net says:

"
 First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it will be returned instead of opening a new connection.

Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use (mysql_close() will not close links established by mysql_pconnect()). "

oktay

On Thu, 29 Aug 2002 11:04:40 -0400
D C Krook <dkrook at hotmail.com> wrote:

> The connection to the db is implicitly closed after the script is run.
> 
> Rasmus Lerdorf did a presentation on PHP/MySQL at OSCON last month where he 
> discussed that:
> 
> http://pres.lerdorf.com/show/osconmysql/
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 



More information about the talk mailing list