diff options
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 1d2e96614..a747aebd6 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -135,9 +135,9 @@ sub connect_shadow { } sub connect_main { - my $dsn = "DBI:mysql:host=$::db_host;database=$::db_name;port=$::db_port"; + my $dsn = "DBI:mysql:host=$db_host;database=$db_name;port=$db_port"; - $dsn .= ";mysql_socket=$::db_sock" if $::db_sock; + $dsn .= ";mysql_socket=$db_sock" if $db_sock; return _connect($dsn); } |