How can I connect to remote mysql database from matlab mobile?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (1)
Pradeep
el 9 de Abr. de 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');
Comunidades de usuarios
Más respuestas en Distance Learning Community
Ver también
Categorías
Más información sobre Database Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!