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 is truncate in mysql?
How can I insert images into a Mysql database?
How do I change directories in mysql?
How do I restart mysql on windows?
What does mysql_query return?
What is the difference between unix timestamp and mysql timestamp?
Why do we need mysql?
What happens when the column is set to AUTO INCREMENT and if you reach maximum value in the table?
What is identity in mysql?
What is mysqli_select_db?
How do you select a table?
How many rows can a mysql table hold?
What is difference between inner vs self vs cross?
how to dump all databases for backup. Backup file is sql commands to recreate all db's.
How to show all tables with 'mysql'?