PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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

Hi - 

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
file.

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?

Thanks!

- Alan