View Full Version : mysql_pconnect

08-30-2006, 02:39 PM
Good or bad?
Everything I've read about the way mysql_pconnect is *supposed* to work, is good - as far as I can tell.
From what I've read, pconnect looks for an existing connection with the same details as the connection its trying to make and uses that if its available, if not it creates a connection and leaves it open for others to use once its done with it....
Now I used it a long time ago and my server host told me to stop because it was causing a lot of sleeping connections - but it seems to me that it shouldnt.
Anyone have any experience with this?