Hi I\'m unable to connect to SQL server that is using windows authentication in node js. I\'m using the mssql module. The error message is :
[ConnectionError
Below code is working for me......
const sql = require('mssql/msnodesqlv8') // config for your database var config = { driver: 'msnodesqlv8', server: 'serverNAme\\SQLEXPRESS', database: 'Learn' , options: { trustedConnection: true } };