"Error: com.mysql.jdbc.Driver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?"

Here is what I ended up doing to make it work.

I copied the MySQL connector jar file to the logstash directory then added an ADD command
ADD mysql-connector-java-8.0.17.jar logstash-core/lib/jars/
to my Dockerfile

in my pipeline/logstash.conf I blanked out the following parameters:

jdbc_driver_class => ""
jdbc_driver_library => ""

This is some sort of work around and is supposedly fixed but has yet to be included in Logstash from what I've been told.

1 Like