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
In which language mysql has been written?
Do you need a license for mysql?
Is sqlite faster than mysql?
What happens if you no create privilege in a database?
What is the data type for image?
How do we delete a row in a table?
How many columns is too many mysql?
What is the insert?
What is the difference between BLOB AND TEXT?
How to use rank function in mysql?
What is flush privileges in mysql?
How do I connect to a database in mysql workbench?
What does tinyint mean?
How do I run mysql on a mac?
Explain timestamp?