git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@10777 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2010-08-12 10:06:41 +00:00
parent 8ae95ce008
commit 2c9abed240
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ if (!$DBRESULT->execute) {
my $ndo_prefix;
my $row = $DBRESULT->fetchrow_hashref();
if (defined($row)) {
$db_broker = DBI->connect("DBI:mysql:database=".$row->{'db_name'}.";host=".$row->{'db_host'}, $row->{'db_user'}, $row->{'db_pass'}, {'RaiseError' => 1});
$db_broker = DBI->connect("DBI:mysql:database=".$row->{'db_name'}.";host=".$row->{'db_host'}.":".$row->{'db_port'}, $row->{'db_user'}, $row->{'db_pass'}, {'RaiseError' => 1});
$ndo_prefix = $row->{'db_prefix'};
}
else {