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
What is mysql in dbms?
What does "i_am_a_dummy flag" do in mysql?
Why we use mysql workbench?
What is mysql community edition?
What are the advantages of a procedure?
What is the difference between a heap table and temporary table?
How do I install mysql on windows 10?
how to add a new column to an existing table?
What is mysql data directory? How to determine the location of the data directory?
How many columns can you create for an index?
How do stored procedures work?
What is append query?
What can I do with mysql?
Will mysql remain free?
What is the default port of mysql server?