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

Why we use mysql database?

981


What is the difference between heap table and temporary table?

1155


What is mysql workbench used for?

1040


How to create a table?

1048


What is mysql port?

1123


How do you stop an access query?

967


Is mysql a database?

992


What is slow query log in mysql?

1154


Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?

4713


What is a mysql view?

906


Which command is used to view the content of the table in mysql?

963


How can I see connections in mysql?

978


Can we store pdf files in mysql?

1030


How do I quit mysql?

983


How to calculate the difference between two dates?

1114