MySQL jdbc server not working with Matlab 2019
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Renger van Nieuwkoop
le 30 Nov 2019
Commenté : Renger van Nieuwkoop
le 19 Déc 2019
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
0 commentaires
Réponse acceptée
Kojiro Saito
le 1 Déc 2019
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 commentaires
Kojiro Saito
le 19 Déc 2019
Modifié(e) : Kojiro Saito
le 19 Déc 2019
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Database Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!