On Mon, Feb 02, 2004 at 05:53:15PM -0400, Tony Fitzgerald wrote:
> 
> I found the same problem with a script that connected to the MySQL
> data base before issuing an  open FH,"-|"  and found that I got the
> above error.  The script had been working and the only change had been
> to put in the implicit fork.

> I assumed that the clean up routines for the child process were
> cleaning up the MySQL connection in the parent process as well.  I'm
> not sure what I will do if I need to run such pipes between the
> connect and the disconnect.

Sounds like a job for $dbh->{InactiveDestroy} = 1; See the docs.

Tim.

Reply via email to