[freetds] dsn-less string for ruby dbi
Jon Connolly
jon at dimax.com
Thu Mar 5 15:28:56 EST 2009
That is a good point. I will keep the freetds.conf for the Unicode charset.
Thanks again
-Jon
On Thu, Mar 5, 2009 at 12:15 PM, Chad Johnson <chadjamesjohnson at gmail.com>wrote:
> Excellent, good to hear!
>
> Should you ever want to override the "client charset" property you'll
> have to blow the dust off of that freetds.conf file. The default is
> iso-8859-1 (otherwise known as Latin1) which isn't a Unicode ready
> charset.
>
> -Chad Johnson
>
> On Thu, Mar 5, 2009 at 1:52 PM, Jon Connolly <jon at dimax.com> wrote:
> > Chad...what can I say but your pure genius. That worked like a charm. I
> > created params for the server, port and ttd version:
> >
> DBI.connect("DBI:ODBC:DRIVER=FreeTDS;SERVER=172.xxx.xxx.xxx;PORT=1433;DATABASE=somedbname;TDS_VERSION=7.0",
> > "uid", "pwd")
> > It looks like I will only need to use the odbcinst.ini to point to the
> > drivers. The odbc.ini and freetds.conf are now appear to be unnessesary.
> > Once again a big thank you.
> >
> > Jon Connolly
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
More information about the FreeTDS
mailing list