connect: Cannot assign requested address using DBD::Sybase

From: Andy Ford (andy.ford@telindus.co.uk)
Date: Wed Jan 07 2004 - 22:51:33 EST


Hi everyone

I am trying to connect to a database using DBD::Sybase and I am getting
the following error.....

connect: Cannot assign requested address
DBI->connect(server=NCOMS) failed: at /tmp/test_DBD_Sybase line 12

------------ the script ---------------
#!/usr/bin/perl
use DBI;
$ENV{SYBASE}="/usr/local/freetds";

$NCOSERVER="NCOMS";
$NCOUSER="user";
$NCOPASSWORD="password";

my $dbh = DBI->connect("dbi:Sybase:server=$NCOSERVER", $NCOUSER,
$NCOPASSWORD) || die "$DBI::errstr\n";
--------------- end script ----------------------

I have spoken to the author of DBD::Sybase who suggests it may be a
solaris issue with bind(), although according to him this perl module
doesn't use bind().

Anyone have an idea where I could look

Thanks

Andy

-- 
perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^'
in:control developer, Telindus, RG27 9HY
DDI: +44 1256 709211, GSM: +44 7810 636652
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:47 EDT