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

How do I restart mysql on windows?

711


What are triggers in mysql?

683


What are the differences between char and varchar?

797


If you wish to encrypt the username and password using php, how will you do that?

788


How does triggers work in mysql?

723


What is mysql_pconnect?

663


How do I download mysql on my laptop?

678


Why use stored procedures in mysql?

741


Why mongodb is faster than mysql?

682


What are the other commands to know the structure of a table using mysql commands except explain command?

760


What port is mysql running on?

706


What do ddl, dml, and dcl stand for?

694


What are the objects can be created using CREATE statement?

769


How do I run a query in mysql?

734


How do I flush privileges in mysql?

741