[freetds] Failing logins / instance ignored?

Matija Grabnar matija.grabnar at hermes-softlab.com
Tue Dec 19 11:19:53 EST 2006


>
> Mmm.... instance is a way to specify a port, you should use one options.
> If you are using mssql 2000 or 2005 you can use protocol 8.0
>
Ah, I didn't realize that. I changed the config file accordingly.
> You are probably using a former version.
>
>   
I guess you are right: I was using DBD::Sybase installed by Debian, and
it appears that it is
a) linked with an older version of freetds,
b) Version 1.0 (1.07 is current version).

I downloaded the latest DBD::Sybase from CPAN. It wouldn't compile with
the freetds (due to undefined symbols), but it compiled with the stable 
(0.64) version.


However, now when I run the same script, I get
DBI connect('MSSQL:server=hsldbYukon;database=IT','itc',...) failed: (no 
error string) at /root/s/dbd.pl line 13
at /usr/lib/perl5/DBI.pm line 638
DBI::__ANON__[/usr/lib/perl5/DBI.pm:687]('undef', 'undef') called at 
/usr/lib/perl5/DBI.pm line 689
DBI::connect('DBI', 'dbi:Sybase:MSSQL:server=hsldbYukon;database=IT', 
'itc', 'hidden') called at /root/s/dbd.pl line 13

Failed, with NO error string?

Any ideas on what I should try next?



More information about the FreeTDS mailing list