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 / pramod kumar

1. mysql_pconnect() creates the persistent connection,mysql_connect not create persistent connection to the database.
2. mysql_connect() connection automatically disconnected after execute the code but mysql_pconnect() not.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is truncate in mysql?

943


How can I insert images into a Mysql database?

1045


How do I change directories in mysql?

903


How do I restart mysql on windows?

953


What does mysql_query return?

1021


What is the difference between unix timestamp and mysql timestamp?

1047


Why do we need mysql?

966


What happens when the column is set to AUTO INCREMENT and if you reach maximum value in the table?

1031


What is identity in mysql?

976


What is mysqli_select_db?

958


How do you select a table?

940


How many rows can a mysql table hold?

1004


What is difference between inner vs self vs cross?

952


how to dump all databases for backup. Backup file is sql commands to recreate all db's.

910


How to show all tables with 'mysql'?

995