In my case (Windows and Linux) the problem was the combination of JRE / JDK and LibreOffice.
It was working with LibreOffice-7.0.3.1, JRE-1.0.8.281, mysql-connector-java-8.0.18.jar. When I upgraded either to LibreOffice-7.2
or JRE-1.0.8.301
the JDBC driver could not be loaded.
So I switched to LibreOffice-7.0.5.1 AND JRE-1.0.8.281 and seems fine. I didn't tried newer versions of JRE (282 to 300).
At LibreOffice they offer 7.2, 7.1 and 7.0 versions.
So it's working with Win-32bit and 64-bit with LibreOffice-7.0.5.1 (32-bit, latest 7.0 series), JRE-1.8.0.281 (32-bit NOT latest) and mysql-connector-java-8.0.26.jar (latest). I suppose the problem is with the mysql-connector-java-8.0-26.jar. Maybe it needs recompile with latest JDK? I tried but I don't have the time to install the dependencies.
With Linux 64 bit it's working with: LO-6.2.8.2, JDK-1.0.8.261, mysql-java-connector-8.0.18.jar (lazy to upgrade all of them). Tried with JDK-1.0.8.301 = KABOOM!