What is the difference between mysql_connect() and
mysql_pconnect()?

Answer Posted / nishant patel

mysql_pconnect uses less resources, because it does not need
to establish a database connection every time a page is loaded.
persistant = continuously

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a data directory?

519


What is mysql database extension?

487


Can we rollback truncate in mysql?

533


1)for snapshot replication which agents used? 2)for Transcation replication which agents used? 3)for merge replciation which agents used?

1563


How to dump a table from a database.

545






What is mysqlcheck do?

548


What is the difference between truncate and delete in mysql?

542


What is the use of pdo?

522


How to delete the repeated records from a table?

515


How do I clear the screen in mysql?

529


How do I find mysql version in mysql workbench?

499


How to drop an existing table in mysql?

565


What is a heap table?

488


How do we use % when performing a search query?

536


What is cursor in mysql?

501