Skip to Content.
Sympa Menu

freetds - RE: [freetds] unixODBC/freeTDS MS SQL Server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] unixODBC/freeTDS MS SQL Server
  • Date: Wed, 12 Nov 2003 15:45:43 -0500

> From: David Garcia Cervetti [mailto:dcervetti AT yahoo.com]
> Sent: November 12, 2003 2:41 PM
>
> I installed unixODBC version 2.2.6 and FreeTDS 0.62.
> I'm trying to connect from a Linux box to a Microsoft
> SQL 2000 Database Server. The installation of both
> (unixODBC and FreeTDS) went fine. The tsql command
> works fine also. The isql command throughs an error:
>
> $ isql -v MyServer2000 bnmanifests barnes
> [S1000][unixODBC][FreeTDS][SQL Server]Unable to
> connect to data source
> [ISQL]ERROR: Could not SQLConnect

Let's see your odbc.ini and freetds.conf, and the first 20 lines of a
TDSDUMP log.

The trick is to make the right entries in those files. The beginning of the
log tells us where FreeTDS is trying to connect to, which might not be
where you expect (or want).

--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page