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 / sumit

In mysql_pconnect(), ‘p’ stands for persistance connection.

when connecting, the function would try to find a (persistent) connection 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.


mysql_connect() function, every time it is opening and closing the database connection.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mysql url?

867


Is mysql a dbms?

888


What is the use of mysqli_fetch_array?

1048


What are stored procedures and functions?

905


How we can get distinct columns values in mysql?

1086


Why is it called mysql?

915


What does innodb stand for?

973


How to display top 50 rows?

1059


Write command to import an mysql file?

1035


How are mysql timestamps seen to a user?

1020


What do we use to remove duplicate records while fetching a data in mysql ?

965


How to display odd rows in student table in mysql?

1007


Is foreign key indexed mysql?

896


What is myisam?

972


What is difference between mysql mysqli and pdo?

940