Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

sql server instance support? host paramter support (local)? #2

Open
jiangjianxiao opened this Issue Jan 9, 2012 · 3 comments

Comments

Projects
None yet
3 participants

host:"(local)" -> ENOTFOUND
host:"localhost\sqlexpress" -> ENOTFOUND

Owner

cretz commented Jan 9, 2012

The host should support "localhost" or "127.0.0.1". This is literally the host used in the socket: https://github.com/cretz/node-tds/blob/master/src/tds-client.coffee#L42. There are some undocumented connections options you can provide such as instanceName which will choose the instance (actually sent as part of a TDS prelogin packet)

I will leave this issue open until I document some of those other connection options.

@ghost ghost assigned cretz Jan 11, 2012

@cretz Is instanceName one of the Connection option keys available in 0.1.0?

Owner

cretz commented Jan 18, 2012

Yes, it should be, but just not documented. I have not yet tested its functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment