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

What is limit in mysql?

457


How does select query work?

501


What are the difference between and myisam and innodb?

522


How do you say mysql?

494


What does a TIMESTAMP do on UPDATE CURRENT_TIMESTAMP data type?

524






How do I flush privileges in mysql?

509


How do I start and stop mysql on windows?

502


What is foreign key in mysql?

603


can you tell the order of sql select statement? : Mysql dba

494


Is mysql free for enterprise?

498


Can mysql and mariadb coexist?

588


What sql does mysql use?

496


What is the purpose of using timestamp data type?

508


What are the different types of triggers in mysql?

466


What is difference between mysql mysqli and pdo?

484