Skip to Content.
Sympa Menu

freetds - Re: [freetds] dsn-less string for ruby dbi

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jon Connolly <jon AT dimax.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dsn-less string for ruby dbi
  • Date: Thu, 5 Mar 2009 12:28:56 -0800

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
>




Archive powered by MHonArc 2.6.24.

Top of Page