jorgeazevedo / node-sqlserver-unofficial Goto Github PK
View Code? Open in Web Editor NEWAn unofficial binary distribution of Microsoft's node-sqlserver driver, a node.js module to connect to MS/Azure SQL databases.
License: MIT License
An unofficial binary distribution of Microsoft's node-sqlserver driver, a node.js module to connect to MS/Azure SQL databases.
License: MIT License
Any idea if this will work with older Native Clients like 9 if the connection string is set up properly? I'm working with SQL Server 2005 and would really love to be able to access it directly from node.js.
This needs to reflect the latest changes.
I think this is a temporary file from gvim.
The next version should not have this (or any other of these) temp files.
Of course it is. Look
var sql = require('..');
it should be var sql = require('node-sqlserver-unofficial')
.
Except that it doesn't work locally without an npm install
. Hm.
So the idea is to have a bin/ dir inside lib/ with all the binaries. The code would then try to require all of them in turn.
Do you think it's possible to provide prebuilt binaries for Node.JS 0.12 and IO.js ?
Hi @jorgeazevedo is there any work around so library will work with latest node version ?
Is it somehow possible to use msnodesqlv8 inside electron v1.2.4?
I can require msnodesqlv8 without any issues in the terminal (using node v6.1.0) but inside electron (v1.2.4) (which is using node v6.1.0 too) it always fails with "None of the binaries loaded successfully...".
Inside the sqlserver.native.js the error "Error: Das System hat keinen Meldungstext für die Meldungsnummer 0x%1 in der Meldungsdatei %2 gefunden." (translated: Error: The system can not find message text for message number 0x%1 in the message file%2) is returned when trying to load "node_modules\msnodesqlv8\lib/bin/sqlserverv8.v6.1.0.x64.node".
What do i have to do to run the module inside electron?
If I type 'node server.js' I get:
C:\Users\Kevinb\neo4j\resourceApp\node_modules\node-sqlserver-unofficial\test>no
de server.js
fs.js:654
return binding.readdir(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory 'C:\Users\Kevinb\neo4j\resourceApp\node
_modules\node-sqlserver-unofficial\test\lib\bin'
at Object.fs.readdirSync (fs.js:654:18)
at Object. (C:\Users\Kevinb\neo4j\resourceApp\node_modules\node-s
qlserver-unofficial\test\node_modules\node-sqlserver-unofficial\lib\sqlserver.na
tive.js:22:23)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\Users\Kevinb\neo4j\resourceApp\node_modules\node-s
qlserver-unofficial\test\node_modules\node-sqlserver-unofficial\lib\sql.js:20:11
)
at Module._compile (module.js:456:26)
It would be nice to have this module updated with latest-node-compatible binaries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.