Check out this link for an explanation of the mysql_pconnect funtion: It explains what a
persistent connection is and how it "thinks". Unless you have a legitimate
need for a persistent connection, try using mysql_connect(). It stays open
until the script that opened it stops running or until you say
mysql_close(). A connection opened with mysql_pconnect() won't be closed if
you call mysql_close().


-----Original Message-----
From: SpamSucks86 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 12:48 AM
Subject: [PHP-DB] Build-up of MySQL Sessions

I'm running windows 2000 and the latest releases of PHP and MySQL. All
database connections are made with mysql_pconnect(). Connections build
up, however. The only person connecting to this webserver at the moment
is myself. It seems that it opens connections and doesn't close them, or
opens unnecessary ones. How can I fix this? Thanks for any and all help.

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to