How can I connect to remote mysql database from matlab mobile?

3 visualizaciones (últimos 30 días)
Volodymyr Naumenko
Volodymyr Naumenko el 6 de Abr. de 2018
Comentada: Walter Roberson el 9 de Abr. de 2018
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.

Respuestas (1)

Pradeep
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');
  1 comentario
Volodymyr Naumenko
Volodymyr Naumenko el 9 de Abr. de 2018
I do it with my desctop matlab (driver need to be instulled before), but I try to do it with cloud connection from matlab mobile... Where should I store mysql connector in this case?

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  Distance Learning Community

Community Treasure Hunt

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

Start Hunting!

Translated by