make persistent connections to the mysql database

A

Anonymous

Guest
hi guys,
can anyone help to make persistent connections to the mysql database

thanks in advance for your helps

regards

red fox
 
Hey red fox,

Just use PHP's mysql_pconnect() function.
It may require some Apache and MySQL configurations to ensure that you do not exceed the number of connections allowed by MySQL. I suggest you to take a look at the comments on the above manual page... there are a few important things you should know about using persistent MySQL connections.

Hope it helps ;)
 
Back
Top