Is there a way to use odbc connection with App Designers Web App?

6 次查看(过去 30 天)
I have a already developed Matalb Standalone App, that is using a ODBC connection the get data from a server.
Now I want that to be compiled as a web app. Is there a way to have a ODBC connection in a web app?
note: I found a answer for using JDBC in web apps..

回答(2 个)

Praveen Reddy
Praveen Reddy 2023-6-26
编辑:Praveen Reddy 2023-6-26
Hi Hans,
I understand that you want to deploy Web App with ODBC connection. Database Toolbox helps to connect to any relational ODBC-compliant using ANSI SQL. Please make sure you have already installed appropriate ODBC driver. Once ODBC driver is installed, you can create a data source and establish connection to your database. For establishing ODBC database connection, you can refer the following documentation.
For more information about Database Toolbox, please refer the following documentation:
  2 个评论
Hans Nerlich
Hans Nerlich 2023-6-26
Hi Praveen,
Thanks for your answer!
I have no problem with connection to the database, I can compile the app with App designer to a standalone app and this app is working fine when the user is installing adn set up the odbc adapter. But we are searching for a solution where the user is not need to install the app and not need to install the odbc adapter, (because every time are admin rights involved, and this is ugly!) so I tried to compile the app in Web designer to Web app, so that the user can see it in the browser.
So I need to install the ODBC driver on the web app server?
OR is is better to user JDBC connection for this?
Is it possible that multible users are using the web app at the same time?
Jannik Schröder
Jannik Schröder 2023-7-17
The answers to your questions can be found in the MATLAB Answers post that I linked in a seperate answer to this question. It is possible that multiple users are using the Web App at the same time.

请先登录,再进行评论。


Jannik Schröder
Jannik Schröder 2023-7-17
编辑:Jannik Schröder 2023-7-17
Please note the following MATLAB Answers post that has been published recently and deals with the same topic:

类别

Help CenterFile Exchange 中查找有关 MATLAB Web App Server 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by