Webapp compatible with database odbc?

1 visualización (últimos 30 días)
Alberto Fuentes
Alberto Fuentes el 20 de Feb. de 2020
Respondida: Rahul el 9 de Abr. de 2025
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 comentarios
Varun Bansal
Varun Bansal el 15 de Jul. de 2021
I have same question. Did you find an answer?
Hans Nerlich
Hans Nerlich el 12 de Jun. de 2023
same question here...

Iniciar sesión para comentar.

Respuestas (1)

Rahul
Rahul el 9 de Abr. de 2025
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:
Thanks.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by