Skip to Content.
Sympa Menu

freetds - RE: newbie

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Osman Çinar Eren <Cinar.Eren AT isbank.com.tr>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: newbie
  • Date: Fri, 11 Oct 2002 14:28:13 +0300


my .odbc.ini is as you wrote down and have no .freetds.conf file
anyway i will give up dealing with odbc.
which of the other two API do you recommend?
i will prefer the one with better documentation.

regards

-----Original Message-----
From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
Sent: Friday, October 11, 2002 2:31 PM
To: TDS Development Group
Subject: [freetds] RE: newbie


>
> Hi,
>
> i know that this subject has last for along time, but i
> reinstalled unixodbc
> and freetds.
> i created templates similar to the ones in the CVS and used
> the commands
> given in the install script.
> but i still get the following as soon as i enter the isql comamnd.:
>
> [unixODBC]tds_connect failed
> [ISQL]ERROR: Could not SQLConnect
>
> this error does not say much.
> should i give up odbc?
> regards.
>

I remember that verbose error was "unable to find DSN", from driver manager.

I know you have problem with odbc.ini location and other, so work on
.odbc.ini (in user directory) and using direct driver specification (not use
odbcinst.ini)

You should have

.odbc.ini:
[TESTC]
Driver = /usr/location_of_your_driver_file/lib/libtdsodbc.so
Description = sample db
Trace = No
Servername = TESTC
Database = cinar
UID = cinar

.freetds.conf (don't use global file):
[TESTC]
host = 10.50.104.133 # use your real ip here
port = 1433

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

=================================

---
You are currently subscribed to freetds as: [cinar.eren AT isbank.com.tr]
To unsubscribe, forward this message to
$subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page