JDBC driver cannot be loaded after Java Update

asked 2020-07-18 10:39:41 +0200

Crul gravatar image

I'm working with LibreOffice Base (v6.4.5.2 - x64 / Windows 10) connecting to MySql through the (Platform independent) JDBC connector downloaded from https://dev.mysql.com/downloads/conne...

I started with mysql-connector-java-8.0.20.jar and, when Java updated to 8u21 I got the error:

The driver class 'com.mysql.jdbc.Driver' could not be loaded.

I updated the connector to mysql-connector-java-8.0.21.jar and it worked again. Now Java has updated to 8u261 and I have the same error again, but there is no new version of the JDBC driver.

I searched but didn't found anything.

Thanks!

edit retag flag offensive close merge delete

Comments

Thanks for the info @ebot (I cannot vote comments); I have read them but no new info.

The error disappeared after removing-and-readding mysql-connector-java-8.0.21.jar to the classpath... but don't how to prevent it for happening again.

Crul gravatar imageCrul ( 2020-07-18 13:57:17 +0200 )edit