필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
Volodymyr Naumenko
Volodymyr Naumenko 2018년 4월 6일
댓글: Walter Roberson 2018년 4월 9일
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개)

Pradeep
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');
  댓글 수: 1
Volodymyr Naumenko
Volodymyr Naumenko 2018년 4월 9일
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?

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  원격 교육 커뮤니티

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by