perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Peters <mpet...@plusthree.com>
Subject Re: Lost connection to MySQL server during query (was "Segfault when connecting during Apache startup")
Date Mon, 30 Jun 2008 14:42:29 GMT
Tobias Kremer wrote:

> use vars qw( $dbh $thefoo );

Why are you storing the DB handle in a global variable?

If you do that then Apache::DBI can't help you if the connection goes away.

-- 
Michael Peters
Plus Three, LP


Mime
View raw message