Quote:
Originally Posted by DavidAllen
Think pconnect holds a permament connection whilst connect isn't. A permanent one can hog up the server if it isn't released properly, so I think that's probably why.
|
You are right.
pconnect is for persistent connection. All such connections stay open even if the query is completely executed and they remain in RAM of the server unless you don't restart MySQL service.
there's no difference in results generated by mysql_connect and mysql_pconnect string.
__________________
UK Web Hosting ||
Business Hosting ||
eUKhost Knowledgebase
Toll Free : 0808 262 0255 ||
MSN : mark @ eukhost.com ||
AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our
Affiliate Program for
FREE and earn 20% commission on each referral.