connect to sql server 2012 with node.js
问题 I want to connect a sql db with node, so i find this npm package https://www.npmjs.com/package/mssql I'am looking forward to create a simple authentication so for a start i just want to connect to the sql db, so my problem is when i tried to execute the existing code in mssql documentation i get an error here is what i executed : var sql = require('mssql'); var config = { user: '...', password: '...', server: 'localhost', database: 'dbUsers' } sql.connect(config, function(err) { throw err; //