fix #1879
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@10777 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
8ae95ce008
commit
2c9abed240
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue