On Wed, Aug 22, 2001 at 09:42:59AM -0400, Perrin Harkins wrote:
> > > Are you using Apache::DBI?  Are you opening a connection in the parent
> > > process (in startup.pl or equivalent)?
> > Yes, yes.
> 
> Don't open a connection during startup.  If you do, it will be shared when
> Apache forks, and sharing a database handle is bad for the same reasons
> sharig a file handle is.  Open a connection in the child process instead.
> You can use connect_on_init() from Apache::DBI if you like.
I misunderstood you. I was using connect_on_init. With or without
Apache::DBI, it fails

Alex.

Reply via email to