Skip to Content.
Sympa Menu

freetds - RE: [freetds] problems configuring..

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Russell Kroboth <rkroboth AT visitraleigh.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] problems configuring..
  • Date: Tue, 25 Feb 2003 12:34:26 -0500

Ok, I seem to be making progress, installing
'freetds-unixodbc-0.61-1.i386.rpm' resolved the error I was receiving,
presumably because it put the driver in place. However, now I get a new
error:

-bash-2.05b# isql -v P450 testuser password1
[unixODBC]Client unable to establish connection
[ISQL]ERROR: Could not SQLConnect

How can I find out the reason for the connection fail? I couldn't get the
logging to work earlier..


I have my driver in place now:

-bash-2.05b# find / -name "*tdsodbc*"
/usr/lib/libtdsodbc.so
/usr/lib/libtdsodbc.so.0.0
/usr/lib/libtdsodbc.so.0
/usr/local/include/tdsodbc.h


and I have changed obdcinst.ini to reflect it:

[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1

[TDS]
Description = v0.61
Driver = /usr/lib/libtdsodbc.so
FileUsage = 1


My ~/.odbc.ini file still has:

[P450]
Driver = TDS
Description = Partners
Trace = No
Servername = dataserver
Database = Partners
Port = 1433
TDS_Version = 7.0



> -----Original Message-----
> From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
> Sent: Tuesday, February 25, 2003 11:53 AM
> To: 'FreeTDS Development Group'
> Subject: RE: [freetds] problems configuring..
>
>
> >
> > Ok, I assumed the rpm package that I got from
> > ftp://ibiblio.org/pub/Linux/ALPHA/freetds/ *was* the driver..
> > That is not
> > correct I guess? Can you point me to the correct file.. I'm sorry..
> >
>
> Get 0.61rc4 at ftp://ibiblio.org/pub/Linux/ALPHA/freetds/current
> It depend from what file you downloaded...
> If you compile from source you need to specify
> --with-unixodbc=/directory_with_unixodbc to enable odbc
> driver... If you
> install from rpm get freetds and freetds-unixodbc (or get source rpm).
>
> freddy77
>
> =================================
> "STRICTLY PERSONAL AND CONFIDENTIAL
>
> This message may contain confidential and proprietary
> material for the sole
> use of the intended recipient. Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient
> please contact
> the sender and delete all copies.
> The contents of this message that do not relate to the
> official business of
> our company shall be understood as neither given nor endorsed by it."
>
> =================================
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page