freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: mjn <mjn AT umn.edu>
- To: freetds AT franklin.oit.unc.edu
- Subject: Giving it another go...
- Date: Wed, 27 Dec 2000 16:00:16 -0600 (CST)
I had some extra time at work so i thought I'd try and get TDS working
again. I have been lurking on the list since my attempt a few months
back...I think I am doing a bit better now.
I have the latest version of FreeTDS(--with-tdsver=4.2) installed. I have
installed the Perl DBI and I have DBD:Sybase installed. This is a Redhat
machine and I am attempting to connect to MsSQL 7.0 on NT.
Here is my interfaces file:
SQLDATA
query tcp ether the.machine.ip.address 5001
here is the perl script I am trying to use to test it:
#!/usr/bin/perl -w
use DBI;
use DBD::Sybase;
$user="mjn";
$passwd="welcome";
DBI->connect('SQLDATA', $user, $passwd);
Here is the error I am getting:
Can't connect(SQLDATA mjn welcome), no database driver specified and
DBI_DSN env var not set at /home/mjn/perl/dbtest.pl line 10
Ideas? From the error, it seems that this is a simple fix but i have been
unable to find anything in the archives refering to DBI_DSN...that or I
have whackey syntax...
____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs
E-Mail : mjn AT umn.edu
Page Mail : 6126486512 AT page.metrocall.com
http://nifty.dsl.visi.com/
____________________________
-
Giving it another go...,
mjn, 12/27/2000
- <Possible follow-up(s)>
- Re: Giving it another go..., Michael Peppler, 12/27/2000
- Re: Giving it another go..., Ian Struble, 12/27/2000
- Re: Giving it another go..., mjn, 12/27/2000
- Re: Giving it another go..., Tom Samplonius, 12/29/2000
Archive powered by MHonArc 2.6.24.