What is the difference between mysql_connect and
mysql_pconnect ? Which one is good in terms of performance ?

Answer Posted / ranjan goyal

In addition to what Brijendra said, persistanty connections
are limited per server so limited number of people will
have access to the website so infact it will stop high
traffic that implies if we say assuem that our site will
have high traffic then we must not use persistent
connections. Persistent connections should be used only
where we only have limited number of users

Is This Answer Correct ?    21 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain me difference between mysql_connect and mysql_pconnect?

542


How arrays are passed through arguments?

604


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

565


What is Gd PHP?

578


What enctype is required for file uploads to work?

513






How come the code works, but does not for two-dimensional array of mine?

496


What are the string functions in php?

518


What will the ?getdate() function returns in PHP?

642


What is the difference between null and empty?

569


What is get and post method in php?

518


Which framework is best for php development?

488


What are the ways to include file in php?

523


What is the use of the function 'imagetypes()'?

542


What is framework? How it works? What is advantage?

490


What is variable give example?

549