How can I connect to remote mysql database from matlab mobile?
2 ビュー (過去 30 日間)
古いコメントを表示
Connecting from matlab mobile:
{conn = database('db','user','passw', ...
'com.mysql.jdbc.Driver', ...
'server:3306/db');
exec(conn3);}
Connection Massage: 'No suitable driver found'. From laptop connection works fine.
1 件のコメント
回答 (1 件)
Pradeep
2018 年 4 月 9 日
Not sure if this is something specific to your network, but - prior to connecting to the database - could you try adding your driver to the Java class path as follows:
>> javaaddpath('path to MYSQL connector JAR');
コミュニティ
その他の回答 遠隔学習コミュニティ
参考
カテゴリ
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!