TLS Version Error using the Database Toolbox with ODBC Driver
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 15 de Mayo de 2023
Respondida: MathWorks Support Team
el 16 de Mayo de 2023
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.
Respuesta aceptada
MathWorks Support Team
el 15 de Mayo de 2023
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 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!