Hello,
First of all, thank you for this library it looks good and is very simple to use.
I am encountering an issue when using the tedious driver with named instances.
Here is my configuration :
var config = {
user: 'sa',
password: 'mypassword',
server: 'localhost\\SQLSERVER_2014',
database: 'TestDB',
options: {
encrypt: false
}
};
With the same configuration, I am able to connect with msnodesqlv8.
Is it better to use tedious, if yes why? Is there anything wrong with the configuration?
Find the attached error with the tedious driver :
{ [ConnectionError: Failed to connect to localhost:undefined in 15000ms]
name: 'ConnectionError',
message: 'Failed to connect to localhost:undefined in 15000ms',
code: 'ETIMEOUT' }
I tried to look at the code myself but I am not familiar enough with it for now to find where the error could be located.
Thanks
Hello,
I was facing the same issue, and finally I've found the solution :
try this :
Finally restart 'SQL Server' and 'SQL Browser Agent' services
Closing due to inactivity.
That helped!
Most helpful comment
Hello,
I was facing the same issue, and finally I've found the solution :
try this :
Finally restart 'SQL Server' and 'SQL Browser Agent' services