Skip to Content.
Sympa Menu

freetds - [freetds] Problem with DBD::Sybase in CGI scripts

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Hidayat Teonadi <hidayat AT cs.wisc.edu>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Problem with DBD::Sybase in CGI scripts
  • Date: Sun, 22 Feb 2004 21:28:59 -0600 (CST)

Hi,

I wrote a script using Perl to test out FreeTDS & DBD::sybase. The script
(which issues queries on MSSQL Server) works when its ran from command
prompt. But when its ran as cgi script, it gives me an error.

The error is:
$dbh = DBI->connect('DBI:Sybase:server=aaa','a','a');

I have read a similar thread, who claims that the problem was solved by
recompiling freetds with ./configure --enable-shared.

I have done that, along with reinstalling freetds and dbd::syabse again,
but it's still not working.

Anybody have any idea? I appreciate any help.

thanks
===============
Hidayat Teonadi
===============




Archive powered by MHonArc 2.6.24.

Top of Page