mysql_connect() and mysql_pconnect() both are working for database connection but with little difference. In mysql_pconnect(), ‘p’ stands for persistance connection. When we are using mysql_connect() function, every time it is opening and closing the database connection, depending on the request . But in case of mysql_pconnect() function, First, when connecting, the function would try to [...]
Archive for the ‘Database’ Category
Difference between mysql_connect() and mysql_pconnect()
Posted in Database, tagged Database, DBConnectivity, MySQL on March 6, 2008 | 15 Comments »