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: Chad Johnson <chadjamesjohnson AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dsn-less string for ruby dbi
  • Date: Thu, 5 Mar 2009 14:15:55 -0600

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




Archive powered by MHonArc 2.6.24.

Top of Page