*** mythweb-unpatched.pl 2009-06-02 14:55:24.011861459 -0400 --- mythweb.pl 2009-06-02 14:56:24.386441304 -0400 *************** *** 49,57 **** # Connect to the database END { $dbh->disconnect() if ($dbh); } ! our $dbh = DBI->connect("dbi:mysql:database=$ENV{'db_name'}:host=$ENV{'db_server'}", ! $ENV{'db_login'}, ! $ENV{'db_password'}); unless ($dbh) { print header(), "Cannot connect to database: $!\n\n"; --- 49,57 ---- # Connect to the database END { $dbh->disconnect() if ($dbh); } ! our $dbh = DBI->connect("dbi:mysql:database=$ENV{'DB_NAME'}:host=$ENV{'DB_SERVER'}", ! $ENV{'DB_LOGIN'}, ! $ENV{'DB_PASSWORD'}); unless ($dbh) { print header(), "Cannot connect to database: $!\n\n";