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

How to get a list of indexes of an existing table?

535


what is the difference between gui testing and database testing? : Mysql dba

531


Where is the mysql data directory?

503


What is an example of a delimiter?

506


What is field in mysql?

473






How do I start mysql server?

481


How can I connect mysql database?

489


Is mysql a free database?

496


How do I find the database name in mysql?

525


What is pdo connection?

482


what are the different tables present in mysql? : Mysql dba

476


How do you shutdown a mysql database?

510


Write command to import an mysql file?

523


What is myisam?

508


What are mysql functions?

501