Skip to Content.
Sympa Menu

freetds - Re: Changed database context?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jon Hirschi" <jhirschi AT hotmail.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Changed database context?
  • Date: Thu, 13 Jun 2002 19:11:13 -0400


Oops, I forgot to list that i've tried it in both tds version 4.2 and 7.0
with the same result. ie. changed database context being printed to the
screen.

and, here is a snippet of code to help see what i'm doing.

my ($dsn) = "dbi:Sybase:server=devdb;database=bugdb";
my ($user_name) = "cvsuser";
my ($password) = "alex";
my ($dbh) = DBI->connect($dsn,$user_name,$password);

die "Unable to connect to server $DBI::errstr"
unless $dbh;

$dbh->do("SET TEXTSIZE 10000");

It spits out the string on connecting.

In my freetds.conf file. I have logging set to:

debug level = 10

Thanks for the help




Archive powered by MHonArc 2.6.24.

Top of Page