[freetds] Initial install help
Thomas Earl
tearl at cacdhh.org
Fri Apr 29 10:48:30 EDT 2005
Greetings to all,
I must be having a very bad day because I can't make heads or tails out
of what I need to be doing here.
I have followed installation directions and everything went just fine.
But when I run the follow script...
#!/usr/bin/perl
#
use DBI;
my $dbh = DBI->connect("dbi:Sybase:server=JDBC", 'sa', '192.168.0.5',
{PrintError => 0});
die "Unable for connect to server $DBI::errstr"
unless $dbh;
my $rc;
my $sth;
$sth = $dbh->prepare("select \@\@servername");
if($sth->execute) {
while(@dat = $sth->fetchrow) {
print "@dat\n";
}
}
Just to test connection and all that... I'm getting the following
error...
cs_config(CS_LOC_PROP) failed at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 249.
... and the script just hangs...
Any ideas?
Thanks,
Tom
More information about the FreeTDS
mailing list