Hi, I want to use mysql_pconnect. As connection remains open after execution of script, it is necessary to specify timeout for open connections. How to specify timeout for each open connection.
Regards, Chaitanya
the timeout value is determined by the MySQL server, not PHP. Read the MySQL manual.
Yep . Do you know how to do it? I tried but I did not get any idea. Regards, Chaitanya
http://www.mysql.com/doc/S/H/SHOW_VARIABLES.html
look for wait_timeout and interactive_timeout the manual also describes how to change these parameters.