TLS Version Error using the Database Toolbox with ODBC Driver
8 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2023 年 5 月 15 日
回答済み: MathWorks Support Team
2023 年 5 月 16 日
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
2023 年 5 月 15 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!