MySQL jdbc server not working with Matlab 2019

조회 수: 4 (최근 30일)
Renger van Nieuwkoop
Renger van Nieuwkoop 2019년 11월 30일
댓글: Renger van Nieuwkoop 2019년 12월 19일
Hi
I changed from Matlab 2018 to 2019 and suddenly I have problems with the MySQL JDBC-Driver. Although it is installed, Matlab can't find it, and I get the following error message:
JDBC Driver Error: No suitable driver found for jdbc:mysql:
Any idea why this might be the case?
Cheers
Renger

채택된 답변

Kojiro Saito
Kojiro Saito 2019년 12월 1일
You need to copy javaclasspath.txt from prefdir of R2018a (orR2018b) to prefdir of R2019a. In javaclasspath.txt, I suppose you had described the location of MySQL JDBC driver path.
Instead of using javaclasspath.txt, we can use configureJDBCDataSource from R2019a and it's easier to preset MySQL JDBC driver path. Here is a link of documenation.
  댓글 수: 6
Kojiro Saito
Kojiro Saito 2019년 12월 19일
편집: Kojiro Saito 2019년 12월 19일
I've discussed with developers of Database Toolbox and this issue seems to be the same as reported in this URL. So, they think it is fixed in R2019a Update 2 and R2019b. I'm wondering why you have this issue in R2019a Update 5.
Renger van Nieuwkoop
Renger van Nieuwkoop 2019년 12월 19일
Hi Kojiro
The version R2019a Update 5 is running on the university server (Unix/Linux). Might that be an explanation?
Cheers
Renger

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by