I have a script that connects to ms sql server with DBI::ODBC. But this code works only for DBI 1.37 version, not for version 1.48. I get connection failed error and looks like the driver connection was not built. DBI was trying to login as the system user instead of the DB user. Any one has seen this problem before? What change from 1.37 to 1.48 could cause this problem? Thanks a lot.
my $dbh = DBI->connect("DBI:ODBC:driver={SQL Server};server=$dbHost;Database=$dbn;UID=$dbUsr;PWD=$dbPw") or die "could not connect to db, ", DBI->errstr, "\n";