Has anyone had any success getting Node to communicate with a SQL Server database?
I've tried all the solutions posted on Stackoverflow (although all relevant questions seem to be about a year old) and none of them have worked.
Some of the packages I've tried:
- msnodesql (Unable to get it to install successfully),
- mssql, tedious (Always errors out on socket connection)
and some others that I can't remember their names
I think all the packages are out of date or not being maintained anymore, as far as I can see there is no defacto standard. I'm starting to think I should abandon trying to use a SQL Server database and switch to MySQL instead?
I'm developing in Visual Studio 2012 and I also have SQL Server 2012.
I'am author of node-mssql module and i would like to help you solve your problem. Could you please provide more information about the errors you get and config you're using? I have made some changes in connection errors recently, so maybe you could try latest version 0.5.0.
Also you could try precompiled msnodesql drivers here. I was also unable to install it on my machine via npm. If this will work for you, try using node-mssql with msnodesql as an optional driver, it can save you a lot of lines of code and make you work with SQL Server more enjoyable.