Closed einhander closed 4 years ago
We recommend to use PostgreSQL, because it offers live update: In case another user changes something, you will have the changes instantly in your local JabRef UI. In case you are using MySQL, you have to manually pull the changes. - May I ask why you are using MySQL?
Regarding your issue: Think, it has to do with the new Java build system. With a small fix (https://github.com/JabRef/jabref/pull/5909), I could perfectly connect to my local MySQL instance running JabRef from source.
Thank you, I'll definitely try PostgreSQL. I have MySQL installed for other software, so I tried it with Jabref.
I've encountered the same problem. As I connected to a remote MySQL server, an EXCEPTION dialog just popped up. I also tried the latest development version, but it doesn't work anyway.
@leyuwei Any reason you stick to MySQL and do not use PostgreSQL? The support for PostgreSQL is much better.
Hopefully, this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.
@koppor Thanks, the problem has been solved after I switched to PostgreSQL. But I still wonder why MySQL cannot work properly with JabRef. The primary server that I use has already deployed the MySQL for WordPress, so it'll be better if the remote database can be settled in the same place. @tobiasdiez , I'll try this out later, thx.
Hmm, I've installed JabRef 5.0-beta.466--2020-02-24--4eefcc6 Linux 5.4.0-3-amd64 amd64 Java 13.0.2 version and got the same error message. I think I should move to Postgre to get it work.
@einhander another try. This should be fixed now (at least this particular error message should be gone now). Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.
Thank you! Last master work Ok.
JabRef 5.0-beta.382--2020-01-28--0b53d4b Linux 5.4.0-3-amd64 amd64 Java 13.0.2
Steps to reproduce the behavior:
Log File
``` ERROR FallbackExceptionHandler Uncaught exception occurred in Thread[JavaFX Application Thread,5,main] java.util.ServiceConfigurationError: org.mariadb.jdbc.credential.CredentialPlugin: module org.jabref.merged.module does not declare `uses` at java.base/java.util.ServiceLoader.fail(Unknown Source) at java.base/java.util.ServiceLoader.checkCaller(Unknown Source) at java.base/java.util.ServiceLoader.