Accessing MSSQL database using nodejs

Discussion in 'Databases' started by Datatron, Mar 28, 2015.

  1. Has anyone tried to access an MSSQL database using node js? I am using the mssql driver called tedious to access my MSSQL database and keep getting an error saying it is not found. I am wondering if it is even possible to access MSSQL using node js. Any response is appreciated.
     
  2. mjp

    mjp

    Yes it is. I see tedious recommended on Stack Overflow, so you're headed in the right direction.

    Approach it the same way you'd approach a broken connection with anything - start by checking the connection string and the basics. That's usually where the problems lie.
     
  3. Thanks for prodding me on further into researching how to access an MSSQL database using tedious in a nodejs environment. The key is to use the ip address of the server in the database configuration rather than the server name. Discountasp support will give you the ip address for your server if you need it. Now I can continue with my programming.
     
    mjp likes this.

Share This Page