Skip to content
Advertisement

com.mysql.jdbc.Driver not loaded. Are you sure you’ve included the correct jdbc driver in :jdbc_driver_library

I am getting java version and mysql-connect-java.jar compatibility issue with logstash.

can any one tell me which version of mysql-connect-java.jar is compatible with which version of java?

Error:

JavaScript

my current java version is

JavaScript

I have tried with below mysql connector jar files but every one fails.

JavaScript

Logstash config file is mysql.conf

JavaScript

Advertisement

Answer

for logstash 6.2.x and above, prefer adding the drivers under:

JavaScript

and rather keep the jdbc_driver_library empty. this has been quoted in many of the elastic.co forums too.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement