DBD::Sybase-0.21 hangs on testing
Brian Bruns
camber at umcc.ais.org
Fri Dec 24 08:42:52 EST 1999
On Thu, 23 Dec 1999, John Gilmore-Baldwin wrote:
> I can't get tests to pass with DBD::Sybase-0.21 and freetds. I compiled
> freetds with version set to 4.2 on Solaris, I set my environment variable
> for sybase to the freetds directory, and added my server to the interfaces
> file there:
>
> MY_server1
> query tcp ether 111.222.333.444 1433
> master tcp ether 111.222.333.444 1433
>
>
> I also tried setting up the interfaces file like the regular sybase
> interfaces file, with hex numbers for the port and ip addresses, but that
> didn't do me well either.
>
The tli stuff (hex numbers) definately won't work. We use sockets only,
sybase uses tli or socket depending on the platform.
> Can anybody see the error of my ways? I'm not having much luck debugging
> this myself.
>
Unfortunately the DBD::Sybase tests really only give you a pass/fail which
isn't terribly helpful. Either run the test individually (go into the
test directory and run 'perl login.t' for instance. Otherwise get SQSH and
try to connect with that. It's a lot more helpful in debugging simple
connectivity problems.
> Thanks,
> John
>
Brian
More information about the FreeTDS
mailing list