At 9:28 +0100 6/10/03, Martin Waite wrote:
Hi,

I reworked my code so that my parent process opened the
DBI connection after the child was forked, and
everything works fine. So it looks like Robin is right.


The one thing I don't understand just now is how the
parent automatically re-connected to MySQL after
the child clobbered the DBI connection.

That's a function of the C client library, upon which DBD::mysql is built. If the connection times out, the next query causes an auto-reconnect.


regards, Martin


--
Paul DuBois, Senior Technical Writer
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

Are you MySQL certified? http://www.mysql.com/certification/


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to