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
What are the critical issues you have resolved in your company
What is indexing in mysql?
What is the difference between float and double?
Is mysql same as mariadb?
Where is mysql password stored?
Does mysql use tcp or udp?
How do I connect to mysql database?
What is difference between microsoft sql and mysql?
Which is better mysql or microsoft sql?
How do I import database through command line?
What is a mysql server?
How do I quit mysql?
Write a command with which mysql table can be repaired
How do I select a database in mysql workbench?
Can mysql handle big data?