Prepare for your Next Interview
This is a discussion on Provide Insight about the Difference within the MY SQL forums, part of the Databases category; I want to know the difference between mysql_connect() and mysql_pconnect()? A brief idea on this is welcome....
|
|||
|
Re: Provide Insight about the Difference
The following two links gives a detailed explanation on the difference between mysql_connect() and mysql_pconnect()
http://www.php.net/manual/en/function.mysql-pconnect.php PHP: mysql_connect - Manual |
|
|||
|
Re: Provide Insight about the Difference
mysql_connect - opens a connection to the mysql server and closes when we use mysql_close
mysql_pconnect - this opens a constant connection to the mysql server which cannot be close by mysql_close and can be reused. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Provide Suggestion | nancyphilips | Interviews | 7 | 01-03-2007 02:18 AM |
| Provide the Command or Option | fred | JavaScript | 1 | 11-12-2006 02:02 PM |
| Kindly provide the Reason | joel | ASP.NET | 2 | 09-16-2006 03:49 PM |
| Provide some Tips for Answering | janelyn | Interviews | 1 | 08-08-2006 02:35 PM |
| Someone provide key for locking rules | sripri | Oracle | 0 | 07-17-2006 04:23 PM |