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 do I start mysql in mysql workbench?
How do I download mysql on my laptop?
How to delete a database from mysql server.
What is innodb_buffer_pool_size?
What is difference between Sql server and MySql database? It may be silly question but i really dont know.
How do I uninstall mysql connector?
Why mysql is used with php?
How many concurrent queries can mysql handle?
How to delete an existing column in a table?
What is RMS Migrations
Does mysql scale well?
What are mysql data types?
Write a query to fetch common records between two tables using mysql?
Why should I learn mysql?
Explain the difference between delete and truncate.