[EMAIL PROTECTED] (Vivek Khera) wrote: >>>>>> "PH" == Perrin Harkins <[EMAIL PROTECTED]> writes: >PH> Don't open a connection during startup. If you do, it will be shared when >PH> Apache forks, and sharing a database handle is bad for the same reasons >PH> sharig a file handle is. Open a connection in the child process instead. > >Speaking of which, what does one do when Apache::DBI is loaded, and >the parent process needs to pull some config info out of the database >that all clients also use? That is, how can I force Apache::DBI to >close that handle prior to the forking of children? I bet you could do: $dbh->DBI::db::disconnect ------------------- ------------------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED] The Math Forum
- 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
- Re: Problem with DBD::Oracle with mod_perl Perrin Harkins
- Re: Problem with DBD::Oracle with mod_perl Tim Bunce
- RE: Problem with DBD::Oracle with mod_perl Geoffrey Young