We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using msnodesqlv8 driver in Unix/Linux environment
The msnodesqlv8 now support Unix/Linux, and SQL Server Native Client 11.0 is a windows only driver and should not be hard-coded in connection-pool.js
SQL Server Native Client 11.0
connection-pool.js
const CONNECTION_STRING_PORT = 'Driver=SQL Server Native Client 11.0;Server=#{server},#{port};Database=#{database};Uid=#{user};Pwd=#{password};Trusted_Connection=#{trusted};Encrypt=#{encrypt};' const CONNECTION_STRING_NAMED_INSTANCE = 'Driver=SQL Server Native Client 11.0;Server=#{server}\\#{instance};Database=#{database};Uid=#{user};Pwd=#{password};Trusted_Connection=#{trusted};Encrypt=#{encrypt};'
I have to replace the driver with ODBC Driver 17 for SQL Server in order to make it work for msnodesqlv8 in mac
ODBC Driver 17 for SQL Server
const CONNECTION_STRING_PORT = 'Driver=ODBC Driver 17 for SQL Server;Server=#{server},#{port};Database=#{database};Uid=#{user};Pwd=#{password};Trusted_Connection=#{trusted};Encrypt=#{encrypt};' const CONNECTION_STRING_NAMED_INSTANCE = 'Driver=ODBC Driver 17 for SQL Server;Server=#{server}\\#{instance};Database=#{database};Uid=#{user};Pwd=#{password};Trusted_Connection=#{trusted};Encrypt=#{encrypt};'
The text was updated successfully, but these errors were encountered:
PRs welcome.
Sorry, something went wrong.
No branches or pull requests
Expected behaviour:
Using msnodesqlv8 driver in Unix/Linux environment
Actual behaviour:
The msnodesqlv8 now support Unix/Linux, and
SQL Server Native Client 11.0
is a windows only driver and should not be hard-coded inconnection-pool.js
Configuration:
I have to replace the driver with
ODBC Driver 17 for SQL Server
in order to make it work for msnodesqlv8 in macSoftware versions
The text was updated successfully, but these errors were encountered: