Organizational Research By

Surprising Reserch Topic

What is difference between mysql_connect and mysql_pconnect?



asked Sep 13, 2013 in MYSQL by rajesh
edited Sep 12, 2013
0 votes
19 views



Related Hot Questions

1 Answer

0 votes

 

 
Mysql_connect:
 
- Opens a new connection to the database
- The database connection can be closed
- Opens the page every time the page is loaded.
 
Mysql_pconnect:
 
- Opens a persistent connection to the database.
- The database connection can not be closed.
- The page need not be opened every time the page is loaded.
 
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013

...