Answers for "Could not load JDBC driver class [com.mysql.jdbc.Driver]"

SQL
0

Cannot load driver class: com.mysql.cj.jdbc.Driver

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.18</version>
</dependency>
Posted by: Guest on July-03-2020
0

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

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

/usr/share/logstash/logstash-core/lib/jars/

and rather keep the jdbc_driver_library empty.
This has been quoted in many of the elastic.co forums too.
Posted by: Guest on September-14-2020

Code answers related to "Could not load JDBC driver class [com.mysql.jdbc.Driver]"

Code answers related to "SQL"

Browse Popular Code Answers by Language