Webapp compatible with database odbc?
이전 댓글 표시
Hello, Is database compatible with webapps?
I try to connect from webapp by ODBC to MySQL database using odbc connection:
cnn = database('databaseName','user','password')
but I receive this message: "ODBC Driver Error: [Microsoft][Administrador de controladores ODBC] No se encuentra el nombre de origen de datos y no se especificó ningún controlador predeterminado"
however, executing the app directly from Matlab runs OK,
Is database function compatible with webapp?
thanks a lot
댓글 수: 2
Varun Bansal
2021년 7월 15일
I have same question. Did you find an answer?
Hans Nerlich
2023년 6월 12일
same question here...
답변 (1개)
Rahul
2025년 4월 9일
0 개 추천
The error shared in the question can occur if the data source is not configured correctly using the ODBC driver. The following documentation can be referred to for steps to configure the data source using an ODBC driver:
Additionally, ensure ODBC driver is installed correctly on the webapp server.
The following MathWorks documentations can be referred:
'Driver Installation': https://www.mathworks.com/products/database/driver-installation.html
Thanks.
카테고리
도움말 센터 및 File Exchange에서 Configure Environment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!