On Fri, 2007-04-20 at 10:44 -0600, Day, Tony wrote:
> I will look at debugging the DBI Module.
I'm really curious what you might find.
> With respect to connecting to the database using the username/password
> in the config the answer is yes. The Daemon is running on the same
> machine as Bugzilla as me. I can connect to the database from a command
> prompt.
in integration_add_comment could you also add:
sub integration_add_comment {
my $self = shift;
my ( $bugid, $username, $comment ) = ( @_ );
## right here, the very first statement
open OUTFILE, "> C://output.txt";
print OUTFILE "the db host is: " . Dumper($::db_host);
print OUTFILE "the db port is: " . Dumper($::db_port);
print OUTFILE "the db name is: " . Dumper($::db_name);
print OUTFILE "the db username is: " . Dumper($::db_username);
print OUTFILE "the db password is: " . Dumper($::db_password);
close OUTFILE;
I want to make sure the connection to the database is initiated
correctly. That we are not running into some case where due to
threading/forking whatever reason these variables remained
uninitialized.
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users