freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Gene Dymarskiy" <gagarin AT i-dep.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Sybase ASA 7, unixODBC problem
- Date: Tue, 9 Nov 2004 10:36:09 -0600
I am not sure it is possible to pass "tds version" from odbc.ini
It does not cause me problems now since I built FreeTDS with version 5.0
but I can see this is being a drawback of not using freetds.conf
settings with odbc
> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of
> Lowden, James K
> Sent: Monday, November 08, 2004 2:53 PM
> To: FreeTDS Development Group
> Subject: RE: [freetds] Sybase ASA 7, unixODBC problem
>
> > From: Gene Dymarskiy
> > Sent: Monday, November 08, 2004 10:49 AM
> >
> > > The correct server name can be obtained from the odbc.ini file by
> > > specifying the keys "server"' and "address".
> > > "address" is used to determine the host name/ip address of the
> > > database server and "server" is used as the name sent off
> with the
> > > login packet.
> >
> > I can confirm that this works. Do not define "Servername"
> in odbc.ini
> >
> > Instead specify Server, Address and Port keys. If you do
> not specify
> > "port" key it defaults to 4000.
> >
> > Sample odbc.ini entry
> >
> > [ASA7]
> > Description = ASA Sybase
> > Driver = /usr/local/lib/libtdsodbc.so
> > Server = [ASA server name]
> > Address = [IP address of the ASA server]
> > Port = 2638
> > Trace = Yes
> > TraceFile = /tmp/odbc_sql.log
> >
> > This is much better than using DSQUERY. For one you can specify
> > connections to multiple ASA servers ;)
>
> Ugh. OK, it works. That's about the best that can be said
> for it, not that that's nothing. I mean, to pass a database
> name, we have to give up minor features like DNS-lookup of
> the server's address. :-/
>
> Expect this to change one day. When you upgrade, check the
> README. At least, there'll be an attribute in the DSN or
> freetds.conf entry that supports a default database name.
> Maybe maybe, we'll add 'DatabaseName'
> as a connection string attribute, like (AIUI) Sybase does. (cf.
> http://manuals.sybase.com/onlinebooks/group-sas/awg0703e/dbrfe
> n7/@ebt-li
> nk;pt=5012;uf=0?target=0;window=new;showtoc=true;book=dbrfen7 ).
>
> They also mention that if no database name is indicated,
> you'll be connected to the Master database by default. Is
> there such thing in ASA? If so, that should be our default,
> too. As far as we know, non-ASA servers ignore this field,
> so we could set it to 'master' by default all the time, not
> just for ASA servers.
>
> --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.
> 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.
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
......CONFIDENTIALITY NOTICE......
The information in this email may be confidential and/or privileged. This
email is intended to be reviewed by only the individual or organization named
above. If you are not the intended recipient or an authorized representative
of the intended recipient, you are hereby notified that any review,
dissemination or copying of this email and its attachments, if any, or the
information contained herein is prohibited. If you have received this email
in error, please immediately notify the sender by return email and delete
this email from your system. Thank You.
-
RE: [freetds] Sybase ASA 7, unixODBC problem
, (continued)
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/06/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/07/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
James K. Lowden, 11/07/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, lsunley, 11/07/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
James K. Lowden, 11/07/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/07/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, ZIGLIO, Frediano, VF-IT, 11/08/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/08/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Lowden, James K, 11/08/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, lsunley, 11/08/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, ZIGLIO, Frediano, VF-IT, 11/09/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/09/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, lsunley, 11/09/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/09/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, ZIGLIO, Frediano, VF-IT, 11/10/2004
Archive powered by MHonArc 2.6.24.