fix odbc setup of odbcinst.ini file database name wrong
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0e30326a43
commit
d67c1ad4c8
@ -1018,9 +1018,10 @@ sub setupODBC
|
||||
exit(1);
|
||||
|
||||
}
|
||||
# get host and password from cfgloc
|
||||
(my $connstring, my $adminid, my $passwd) = split(/\|/, $output[0]);
|
||||
(my $database, my $id, my $server) = split(/=/, $connstring);
|
||||
# get host and password database from cfgloc
|
||||
my( $connstring, $adminid, $passwd) = split(/\|/, $output[0]);
|
||||
my ($hdr, $id, $server) = split(/=/, $connstring);
|
||||
my ($database,$footer) = split(/;/, $id);
|
||||
# the odbcinst.ini file should have been created during install of the
|
||||
# unixODBC and postgresql-ODBC rpms
|
||||
my $odbcfile = "/etc/odbc.ini";
|
||||
|
Loading…
Reference in New Issue
Block a user