Re: dsn-less string for ruby dbi

Chad Johnson <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.