How can I connect to remote mysql database from matlab mobile?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (1)
Pradeep
am 9 Apr. 2018
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');
Communitys
Weitere Antworten in Distance Learning Community
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!