freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Pim Zandbergen" <freetds-list AT macroscoop.nl>
- To: freetds AT franklin.oit.unc.edu
- Subject: bug in odbc.ini handling
- Date: Tue, 4 Sep 2001 15:52:33 -0400
both freetds and unixODBC try to find a DSN
in these files, in this order:
$ODBCINI
$HOME/.odbc.ini
/etc/odbc.ini
freetds will, however, expect to find the DSN
in the first file it can open. If the file exists,
but does not contain the requested DSN section, it
fails.
unixODBC behaves correctly, if it does not find a
DSN within a file, it continues to search the next
file.
This realy hurts when you have a system DSN in /etc/odbc.ini,
and no $HOME/.odbc.ini. If that is the case, unixODBC will
create an empty $HOME/.odbc.ini. freetds will then open that
file and not find the DSN in it.
-
bug in odbc.ini handling,
Pim Zandbergen, 09/04/2001
- <Possible follow-up(s)>
- Re: bug in odbc.ini handling, Nick Gorham, 09/04/2001
- Re: bug in odbc.ini handling, Steve Langasek, 09/04/2001
- Re: bug in odbc.ini handling, Nick Gorham, 09/05/2001
Archive powered by MHonArc 2.6.24.