How to deploy web application along with MySQL database ?
1 次查看(过去 30 天)
显示 更早的评论
%I have built an web application, to insert and access data from MySQL database, when I run it , it`s working but when it is deployed as a web app it`s showing errors. Here is my code for connection to database:
databasename ='demo_database';
app.conn2 = database(databasename,'user_ID','Password','Vendor','MySQL', ...
'Server','server_name,'PortNumber',3306);
- Do I need to add mysql-connector-java-8.0.23.jar to application while compiling as a web app?
- How to acess database from another desktop which has a web application but not mySQL and MATLAB?
Thanks in advance
0 个评论
回答(1 个)
Jai Khurana
2021-7-6
Hi Nelapati,
Please go through the link https://in.mathworks.com/help/database/ug/database.mysql.connection.html .
Hope it helps.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!