Hi,
I am trying to set up one of my companys perl applications
which uses a MS Sql Server 2005. The applications is known
to work in our other environment but this times it seems to be a problem somewhere when application is trying to connect to the DB. I verified that Sql Server is responding
on that ip and port by running a tsql command which comes whith freetds perl module.
While trying to find a reason why its not working
i also did a test below and the result i get is some kind of network fail. So what could be the problem? I tried to reinstall the DBI package but in vain.
#!/usr/bin/perl
use DBI;
my $dbh = DBI->connect ("DBI:Sybase:server=xxx.xx.xx.xx:1433;database=JACKPOT",
"sa","xxxxx" )
or die ("Cannot connect to database: $DBI::errstr");