git-svn-id: http://svn.centreon.com/Plugins/Dev@2633 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
02de2fd1a7
commit
30e7edcb8e
|
@ -46,7 +46,7 @@ GetOptions
|
||||||
## Set Database information
|
## Set Database information
|
||||||
###########################
|
###########################
|
||||||
use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd);
|
use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd);
|
||||||
require "@CENTREON_PATH@/ODS/etc/conf.pm";
|
require "@INSTALL_DIR_OREON@/ODS/etc/conf.pm";
|
||||||
|
|
||||||
my $dbh = DBI->connect("DBI:mysql:database=$mysql_database_oreon;host=$mysql_host",
|
my $dbh = DBI->connect("DBI:mysql:database=$mysql_database_oreon;host=$mysql_host",
|
||||||
"$mysql_user", "$mysql_passwd",
|
"$mysql_user", "$mysql_passwd",
|
||||||
|
|
Loading…
Reference in New Issue