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
What does mysql flush privileges do?
How do I import database through command line?
How big is a blob mysql?
How would concatenate strings in mysql?
How to show table names with 'mysqlshow'?
What is the use of mysqli_fetch_array?
What is difference mysql and mysqli?
What happens if null values are involved in expressions?
How do I change a procedure in mysql?
Is primary key auto increment?
what is constraints?
How can you change the password of a mysql user?
How database are managed?
What is the data type for file in mysql?
Which is faster innodb or myisam?