Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
not working with sql server native client 11 (in azure) #49
What messages are emitted from the connection's info and error events?
I understand that azure only supports SQL Server connections with encryption. So the first question is, have you enabled encryption on the connection? The
It's possible that even with encryption enabled, there's a problem with the encryption. I've had mixed results trying to get it to work.
To try and get a better understanding of the problem, can you enable some debugging logging please?
Then on the Connection object, log
This should produce a whole bunch of debug data. If you can add it to this issue (or as a gist), then I'll take a look at it. (You'll probably want to redact the username and password.)
it works now.
Yes, I had to use encrypt: true in options.
Also userName in config had to be changed to email@example.com
The error showed up after enabling encrypt: true in config.options
Thanks a lot for your help.
There's currently no in-built support for connection pooling. There are a couple of implementations that you might like to look at.
I'm not totally convinced that connection pooling belongs in tedious. My feeling is that it's a separate concern, and should perhaps be in separate library. However this isn't something that I feel strongly about, and I could probably be persuaded to include it.