Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between mysql_connect() and
mysql_pconnect()?

Answer Posted / amita

mysql_connect everytime open a new connection to the database


while using mysql_pconnect , the function would first try to
find a (persistent) link that's already open with the same
host, username and password. If one is found, an identifier
for it will be returned instead of opening a new connection...
the connection to the SQL server will not be closed when the
execution of the script ends. Instead, the link will remain
open for future use.

Is This Answer Correct ?    72 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which language mysql has been written?

1268


Do you need a license for mysql?

895


Is sqlite faster than mysql?

872


What happens if you no create privilege in a database?

1028


What is the data type for image?

1007


How do we delete a row in a table?

920


How many columns is too many mysql?

843


What is the insert?

834


What is the difference between BLOB AND TEXT?

1085


How to use rank function in mysql?

917


What is flush privileges in mysql?

940


How do I connect to a database in mysql workbench?

968


What does tinyint mean?

860


How do I run mysql on a mac?

893


Explain timestamp?

922