What is the difference between mysql_connect() and
mysql_pconnect()?
Answer Posted / amita
mysql_connect everytime open a new connection to the database
while using mysql_pconnect , the function would first try to
find a (persistent) link 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...
the connection to the SQL server will not be closed when the
execution of the script ends. Instead, the link will remain
open for future use.
| Is This Answer Correct ? | 72 Yes | 4 No |
Post New Answer View All Answers
Why we use mysql database?
What is the difference between heap table and temporary table?
What is mysql workbench used for?
How to create a table?
What is mysql port?
How do you stop an access query?
Is mysql a database?
What is slow query log in mysql?
Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?
What is a mysql view?
Which command is used to view the content of the table in mysql?
How can I see connections in mysql?
Can we store pdf files in mysql?
How do I quit mysql?
How to calculate the difference between two dates?