Back to LanguageTool Homepage - Privacy - Imprint

Enabling database logging

Good evening everyone!
I am running personal languagetool server and want to use MySQL database.
Here is my CLI command:
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -XX:+UseStringDeduplication -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin '"*"' --config ./ contains mybatis connection settings.
mysql-connector-java is placed to libs directory, but java cannot find driver in classpath. Caused by: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: com.mysql.jdbc.Driver
Please, advise, how to set up DB connection.

What exactly do you want to log? We found logging to the database doesn’t scale too well, so we’re back to just writing to the log file (or STDOUT, written to the log file via systemd).

Thank you, clear. I am playing around with languagetool, found this feature in sources and wanted, first, to enable and test it. So, generally, do languagetool needs database or it is not worth spending time on it ?

LT doesn’t need a database and I wouldn’t worry about this setting.

Thank you, clear.