Code Monkey home page Code Monkey logo

Comments (6)

patriksimek avatar patriksimek commented on July 21, 2024

Please, update your node-mssql module to latest version 0.5.1, you should then get complete reason why is you connection failing.

from node-mssql.

KevinBurton avatar KevinBurton commented on July 21, 2024

I have the latest:

H:\GraphForm>node --version
v5.3.0

from node-mssql.

KevinBurton avatar KevinBurton commented on July 21, 2024

I don't have node-mssql just msnodesqlv8

from node-mssql.

tracker1 avatar tracker1 commented on July 21, 2024

@KevinBurton msnodesqlv8 is a different project ... It will only work in windows, so you won't be able to deploy to other OSes.

You should consider using this module though npm install mssql (the one you are posting on) ... The default backing driver for this project is tedious which is JS based, no binary component, and will work outside of windows. I've had far fewer issues with it.

from node-mssql.

KevinBurton avatar KevinBurton commented on July 21, 2024

I started out with mssql but in the readme I saw some notes about using 'Trusted_Connection' is available only with msnodesqlv8. So I still used mssql but I specified the driver as msnodesqlv8. If I have user/password type of connection I can use mssql with the default driver? It seems that msnodesqlv8 also depends on the version of node. If I use the default driver ('tedious') will this work with any version of node? If I use 'require ('mssql') then what are my driver options?

Thank you.

from node-mssql.

tracker1 avatar tracker1 commented on July 21, 2024

Can you post your full connection/configuration? (obscuring username & password) .. also what is in your require() statement? Do you have msnodesqlv8 installed in your project? npm install --save msnodesqlv8 ... npm install mssql won't install msnodesqlv8 iirc

https://github.com/patriksimek/node-mssql#cfg-general

from node-mssql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.