summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB.pm6
-rwxr-xr-xchecksetup.pl2
2 files changed, 5 insertions, 3 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index a766a6e04..445e29500 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -144,10 +144,12 @@ sub _connect {
# connect using our known info to the specified db
# Apache::DBI will cache this when using mod_perl
my $dbh = DBI->connect($dsn,
- $db_user,
- $db_pass,
+ '',
+ '',
{ RaiseError => 1,
PrintError => 0,
+ Username => $db_user,
+ Password => $db_pass,
ShowErrorStatement => 1,
HandleError => \&_handle_error,
FetchHashKeyName => 'NAME_lc',
diff --git a/checksetup.pl b/checksetup.pl
index c9ced42ec..2ccf0d8a4 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -246,7 +246,7 @@ my $modules = [
},
{
name => 'DBI',
- version => '1.32'
+ version => '1.36'
},
{
name => 'DBD::mysql',