TLS Version Error using the Database Toolbox with ODBC Driver

11 次查看(过去 30 天)
We are facing database connectivity issues in our project when using the Database Toolbox to connect to our Microsoft SQL Server. When testing changes locally on our developer machines before distributing, the MATLAB script is working perfectly fine. However when the script is executed on the machine that we use for production, we are receiving an error:
ODBC Driver Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server.

采纳的回答

MathWorks Support Team
When connecting to a database with an ODBC driver in MATLAB using the Database Toolbox, the supported TLS versions are determined by the ODBC driver. To resolve this error, ensure that the ODBC driver version that you are using with MATLAB supports the minimum TLS version required by the server database. The supported TLS versions of a specific ODBC driver can typically be found in the ODBC driver's documentation.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by