You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2006/03/10 22:20:56 UTC

Re: Migrating from MySQL to PostGres -- Any mod_perl specific things I should be wary of?

On Fri, 2006-03-10 at 13:13 -0800, David Wheeler wrote:
> The only one I can think of (and my information might be severely out- 
> of-date) is that you can open a MySQL connection before Apache forks  
> and have it still work in the children

I'm not sure where you got this idea, but don't do it.  I've seen lots
of people have bugs caused by this on the Catalyst and Class::DBI lists.
If you open database connections during startup, close them before
forking.

- Perrin