Ah yes, that's it. For some reason I had `org.mysql.Driver` as the Driver. Don't ask me where I had that from. Your settings worked.
Well sometimes it helps asking. Thank you very much! -----Ursprüngliche Nachricht----- Von: lsc-users <[email protected]> Im Auftrag von Clément OUDOT Gesendet: Dienstag, 2. April 2019 12:14 An: [email protected] Betreff: Re: [lsc-users] Troubles with mysql-Driver Le 02/04/2019 à 12:06, Alexander Herr a écrit : > I am getting the ubiquitous ClassNotFoundException for the Mysql-driver on my > Debian box: > > SEVERE: SimpleDataSource: Error while loading properties. Cause: > java.lang.ClassNotFoundException: org.mysql.Driver > > Incidentally, I have already symlinked/copied (tried a lot) the > mysql-connecter-java.jar into /usr/lib/lsc directory. Alas, that didn't seem > to fix it. > > To be frank, is it correct and sufficient on Debian to: > * Install libmysql-java, > * do `ln -s /usr/share/java/mysql-connector-java.jar > /usr/lib/lsc/mysql-connector-java.jar`? > > If so, what am I missing? It's been a while since I have dabbled with java, > and honestly, it's stuff like that that keeps me from dabbling. It should be enough, but you may not have the right configuration. Here is an example of the database connection settings in lsc.xml <databaseConnection> <name>src-jdbc</name> <url>jdbc:mysql://localhost/mydatabase</url> <username>root</username> <password>root</password> <driver>com.mysql.jdbc.Driver</driver> </databaseConnection> -- Clément Oudot | Identity Solutions Manager [email protected] Worteks | https://www.worteks.com _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

