[connection pooling]mysql_connect reuse connection

General discussion on PHP
Post Reply
rampog
Posts: 56
Joined: Mon May 04, 2009 12:15 pm

[connection pooling]mysql_connect reuse connection

Post by rampog » Tue Mar 19, 2013 11:05 am

Dear All,
does any one has ever encountered mysql_gone_away error from mysql database server?
actually this is cause by reuse idle connection.
my question how in mysql client know that to be choose this one ? is it possible ?
connection 1 normal
connection 2 idle
connection 3 normal
where do we can monitor this behaviour of mysql client especially in php application ?


thanks in advance

Post Reply