Skip to Content.
Sympa Menu

freetds - [freetds] Support Host/Port In DBLIB

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ken Collins <ken AT metaskills.net>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Support Host/Port In DBLIB
  • Date: Mon, 11 Apr 2011 10:20:01 -0400


So I was playing around with allow users of TinyTDS to use a :host and :port
connection option that would remove the last need of our on the freetds.conf
file. I toyed around with a patch like this that had poor results.

https://gist.github.com/913533

I happily found out that setting TDSHOST & TDSPORT from my ruby lib before
establishing the connection worked quite well. So, is this the preferred
solution?


- TIA, Ken






Archive powered by MHonArc 2.6.24.

Top of Page