[freetds] Access Sybase by using unixODBC & freetds?

Lowden, James K LowdenJK at bernstein.com
Thu Sep 9 15:15:35 EDT 2004

-----Original Message-----
From: jun_chen at bankone.com
Sent: Thursday, September 09, 2004 1:53 PM

I did use freetds.conf and the [dataserver] name did matches the name of

the database I wish to use and still doesn't work.
-----End Original Message-----


It could easily be your ODBC .ini files.  You should be following the
ODBC-combined setup, and your odbc.ini should use "Servername", not
"Server".  You might try setting TDSDUMPCONFIG, to make sure FreeTDS is
really fetching the dataserver name you intend.  

If all that looks OK, post your odbc.ini and freetds.conf.  Maybe
someone will spot something.  


Date: Tue, 7 Sep 2004 12:21:52 -0400
From: "Lowden, James K" <LowdenJK at bernstein.com>
Subject: RE: [freetds] Access Sybase by using unixODBC & freetds?
To: "FreeTDS Development Group" <freetds at lists.ibiblio.org>
<3778FAB3D61A7A40833F1CB3B8C173AA02A3F6FA at AC2KAMA0107.ac.lp.acml.com>
Content-Type: text/plain;                charset="US-ASCII"

> From: jun_chen at bankone.com
> Sent: Tuesday, September 07, 2004 11:52 AM
> ...
> But isql -v visdb <username> <password> always failed with the
> error:
> [unixODBC][FreeTDS][SQL Server]Unable to connect to data source 
> [unixODBC][FreeTDS][SQL Server]Login incorrect. 
> [unixODBC][FreeTDS][SQL Server]ASA Error -83: Specified database not
> [ISQL]ERROR: Could not SQLConnect


You will not be able to connect to an ASA server unless you use the
freetds.conf file, and the [dataserver] name matches the name of the
database you wish to use. 



This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you.

FreeTDS mailing list
FreeTDS at lists.ibiblio.org

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.
If you, as the intended recipient of this message, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes.  In the U.S.: 1345 Avenue of the Americas, New York, NY 10105.

More information about the FreeTDS mailing list