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
Can I install mysql on mac?
How do I find mysql database?
Write a query to stop mysql in unix
When to use order by in delete statement?
What is the purpose of mysql database?
How to create a new table in mysql?
What is regex in mysql?
What is the purpose of using ifnull() function?
What are the advantages of MySQL when compared with Oracle?
Why do we use the mysql database server?
What command is used to delete the data from the table without deleting the table structure?
What are federated tables?
How to create a new table by selecting rows from another table in mysql?
I want to start and stop mysql on windows? How do I do that?
What is mysql primary key?