Connecting Nodejs with MS SQL Server through Knex npm package

preview_player
Показать описание
This videos demonstrates how to connect Nodejs with MS SQL Server with Knex npm package. It explains how to pass on the configuration information while connecting to MS SQL Server and also run a select query to get data in Nodejs.
Рекомендации по теме
Комментарии
Автор

Quick steps to connect using Knex. Thanks for sharing.

yashkhandha
Автор

Hiii! thank you so much for the tutorial...
I got this error while ejecuting the code:
{
"message": "Failed to connect to localhost:1433 - Could not connect (sequence)",
"code": "ESOCKET"
}
this is what I catch...If you could help me I will be so grateful. 😞

EllieT
Автор

hi, please where did you get sa and 123 from?

albah
Автор

Hello sir i created a db file where i tested it and it works but i'm try to call the db created on my main App.js file but this is actually the error i'm getting "Access denied for user ''@'localhost' (using password: NO)"

solomonkorede