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
Is mysql a relational database?
what is constraints?
What is processlist in mysql?
What is the purpose of using a heap table?
Can you tell which of the following where clauses is faster?
How to create and drop view in mysql?
What command is used to delete the data from the table without deleting the table structure?
What is difference mysql and mysqli?
What are the different mysql database engines?
How to store binary data in mysql?
What are the advantages of myisam over innodb?
What is the difference between mysql_fetch_array() and ysql_fetch_object() ?
How do I setup mysql?
What is ISAM?
How do I run mysql from command line?