Up Prev Next
From: "Alan Humphrey" <alan dot humphrey at comcast dot net>
Subject: DBD::Sybase can't find freetds.conf
Date: Jan 20 2010 5:19PM
I'm installing freetds and DBD::Sybase on a new server (Ubuntu 9.1).
Freetds is in and tsql executes just fine, finding the global freetds.conf
A test program using DBD::Sybase fails with:
DBI connect('server=xxxx','xxxxx',...) failed: (no error string) at
new_test.pl line 7
unable to connect to server at new_test.pl line 8.
However, if I copy the freetds.conf file to my home directory as
.freetds.conf the program works.
It appears that DBD::Sybase can't find the global freetds.conf file. Is it
expecting to find it somewhere special?