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

Answer Posted / jayapirakash

Mysql_connect()->we can colse the datedase
Mysql_pconnect()->we can't close the datadase

Mysql_conect()->opens the database every time page is load
Mysql_pconnect()->Need not to the every time page load

Is This Answer Correct ?    48 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are mysql functions?

484


Can you tell few best practices to be followed for optimization in sql?

492


What is pdo connection?

458


Is mysql deprecated?

454


What is difference between mongodb and mysql?

455






How do I uninstall mysql connector?

465


What is pdo :: fetch_assoc?

484


How do I switch users in mysql?

483


How many ways to get the current time?

502


What is a mysql server?

503


How to give user privilages for a db. Login as root. Switch to the mysql db. Grant privs. Update privs.

469


What is mysqlcommand?

467


How do I start mysql client?

507


Does uninstalling mysql delete database?

480


Is mysql a odbc?

463