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
How many rows can mysql hold?
Can we write procedure in mysql?
What is InnoDB?
Explain the difference between procedure and function in mysql?
What is difference between group by and order by clause?
Which is better mysql or mssql?
Is mysqli deprecated?
Is mysql is a programming language?
How do you create a new database in mysql?
What is 'mysqlshow'?
How do I find my mysql username and password?
How do you say mysql?
What is database engine in mysql?
How to delete a table.
How to create trigger in mysql workbench?