Using server host/port with dblib api.
Ken Collins <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
So I am using the dblib api in my TinyTds ruby binding [1] and I have always noticed that I have to specify the dataserver name in freetds.conf for a connection to be established. Would this be considered a bug or is a host and/or custom port not allowed? I looked over the source and it seems to take the dataserver name passed to dbopen() and eventually calls tds_set_server(), which is the same function used in the tsql example. So why can I not put in a host name?
- Thanks in advance,
Ken
[1] http://github.com/rails-sqlserver/tiny_tds