New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection config #46
Comments
'local' (probably) won't resolve to an IP address. You probably want 'localhost'. |
if i am set 'localhost', it is giving me error 'Login failed; one or more errorMessage events should have been emitted' and what is better idea? means if i am setting IP address instead of 'localhost' keyword in tedios config, how it is helpful to increase performance. |
What messages were in any emitted errorMessage or infoMessage events? They will give a clue what the server is objecting to. Performance is not going to be affected by how the IP address is resolved (other whether a DNS lookup is involved). |
it is occurred in 'errorMessage' event. i am using tediousPooler. SQLConnect.jsvar tediousPooler = require('./TediousPooler'); if ((pooler === null) || (pooler === undefined)) { }TediousPooler.jsvar poolModule = require('generic-pool') exports = module.exports = TediousPooler; function TediousPooler(config) { TediousPooler.prototype.callProcedure = function (request) { |
"it is occurred in 'errorMessage' event. i am using tediousPooler." What message is present in the errorMessage event? |
error 'Login failed; one or more errorMessage events should have been emitted' |
That is the error from the |
Issue #46 |
Connection pooling is now a separate project, tedious-connection-pool. If the same problem occurs with that pool implementation please open an issue there. |
hi all,
i am using tedious for my backend database (MSSQL 2008) with node.js.
while configuring tedious if i am setting 'local' instead of IP address in server tag, it is not working. when i am change (local)/local to IP address, it is going very fine.
following is the my config setting for tedious.
var config = {
// server: 'local',
server: 'XXX.XXX.X.XXX',
userName: 'UserName',
password: 'UserPassword',
options: {
database: 'databaseName'
}
};
so, i don't understand what is the problem?
The text was updated successfully, but these errors were encountered: