Jdbc driver not loading


(kaushik) #1

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

that is the error i get?can anyone comeup with a solution


(kaushik) #2

here is my config file

input {
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:3306/table"
# The user we wish to execute our statement as
jdbc_user => ""
jdbc_password => ""
# The path to our downloaded jdbc driver
jdbc_driver_library => "C:\Users\kaush\Downloads\mysql-connector-java-8.0.11\mysql-connector-java-8.0.11.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
# our query
statement => "SELECT * FROM test"
}
}
output {
stdout { codec => json_lines }
elasticsearch {
"hosts" => "localhost:9200"
"index" => "test-migrate"
"document_type" => "data"

}
}


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.