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

Answer Posted / pramod kumar

1. mysql_pconnect() creates the persistent connection,mysql_connect not create persistent connection to the database.
2. mysql_connect() connection automatically disconnected after execute the code but mysql_pconnect() not.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is mysql case-sensitive?

672


What is acid in mysql?

640


Does facebook still use mysql?

691


What is the limit of mysql database?

695


What is a scalar function?

728


Is Mysql query is case sensitive?

721


What are the indexes in mysql?

729


What is regexp?

880


What is ddl, dml, and dcl?

747


What is delimiter in mysql trigger?

723


List some comparisons operators used in mysql?

722


How can you create and drop view in mysql?

703


Why to use char instead of varchar in the database?

799


What are all the Common SQL Function?

789


How to declare variable in mysql trigger?

697