> sub SERVER_CREATE { > return bless { > Database => ['DBI:mysql:Regulate'], > ... > }, shift; > }
> sub global_init #:PostConfigHandler > { > my(undef, undef, undef, $s)[EMAIL PROTECTED]; > my $conf=Apache::Module->get_config(__PACKAGE__, $s); > ... > my $dbh=DBI->connect(@{$conf->{Database}}, {RaiseError=>1}) or > global_init() dies with this error: > DBI connect('Regulate','HASH(0x8a377ec)',...) failed: Access denied > for user: '@localhost' to database 'Regulate' > > Which leads me to believe that either the information isn't being > recorded for some reason, or I'm looking at the wrong $conf structure. it looks to me like it's picking up the 'Regulate' database from SERVER_CREATE just fine. I don't suppose that you have just dumped the values you think you set from $conf, forgetting about DBI for the moment, just to see what has and has not made it through? --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html