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.
- Problem with DBD::Oracle with mod_perl Alex Povolotsky
- Re: Problem with DBD::Oracle with mod_perl Perrin Harkins
- Re: Problem with DBD::Oracle with mod_perl Alex Povolotsky
- Re: Problem with DBD::Oracle with mod_perl Perrin Harkins
- RE: Problem with DBD::Oracle with mod_perl Alex Povolotsky
- RE: Problem with DBD::Oracle with mod_perl Rob Bloodgood
- Re: Problem with DBD::Oracle with mod_perl Vivek Khera
- Re: Problem with DBD::Oracle with mod_perl Ken Williams
- RE: Problem with DBD::Oracle with mod_perl Kyle Oppenheim
- Re: Problem with DBD::Oracle with mod_perl Benjamin Trott
- Re: Problem with DBD::Oracle with mod_perl Rasoul Hajikhani
- Re: Problem with DBD::Oracle with mod_perl Rodney Broom
- Re: Problem with DBD::Oracle with mod_perl darren chamberlain
- Re: Problem with DBD::Oracle with mod_perl Vivek Khera
- Re: Problem with DBD::Oracle with mod_perl Benjamin Trott