[PHP4BETA] mysql_pconnect()

From: Date: Tue, 08 Feb 2000 13:55:44 +0000
Subject: [PHP4BETA] mysql_pconnect()
Groups: php.version4 
Request: Send a blank email to php-version4+get-9940@lists.php.net to get a copy of this message
Hi there, in php3 I ran in to trouble using persistent connections to a mysql-database. They were persistent allright but they where never reused. Within milliseconds all slots filled up and subsequent connecting was refused. So I turned to using mysql_connect() and explicitly closing every connection at the end of every script.. This works just fine, but I still think it would be neater to use persistent connections, eliminating the overhead of connecting and closing over and over again! Therefore I tried it again with php4b3, but the same problem occurs :( Now am I doing something wrong or is this a problem that php4 has inherited from php3? .. and if I'm doing something wrong what is the correct way to use persistent connections? cheers! Bram -- _____________________________________________________________ _____________________________________________________________ Bram de Kruijff___________ <GX> creative online development ________________________________________ mailto:bramk@gx.nl _________________________________________ http://www.gx.nl/ ___________________________________________________________ private email: bram@atoom.net

« previous php.version4 (#9940) next »