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
If you wish to encrypt the username and password using php, how will you do that?
Why is mysql used?
What language is used in mysql?
Why do we need mysql?
Which is faster mysql or mongodb?
How can you find out the version of the installed mysql?
What is identity in mysql?
How do I transfer data from one database to another in mysql?
What is 'mysqlimport'?
i made a table whih contain a column "Photo" with image data type and i want to insert the byte of a picture present in my hardisk using insert statement in that colum... so what will be my insert statement?
Is mysql owned by oracle?
How you will show all data from a table.
How to create a table?
Is mysql a backend?
Can mongodb replace mysql?