Support Questions

Find answers, ask questions, and share your expertise

"Can't load database driver" in CaptureChangesMysql Apache Nifi Processors

avatar
Contributor

I am using the CaptureChangesMysql processor to read the events data from mysql but it failing with the connection error as "org.apache.nifi.reporting.initializationexception can't load database driver"

screenshots are attached for the reference .

Mysql Driver path: file:////Users/kiran/Downloads/mysql/mysql-connector-java-8.0.17.jar

Environment :

Aapache nifi :1.7.0

Mysql 8.0.17

OS : MacOS 10.14.4110381-screenshot-2019-08-13-at-55200-pm.png110352-screenshot-2019-08-13-at-55802-pm.png

10 REPLIES 10

avatar
Explorer

I suggest you try to set your path with "\" instead of "/" for example: C:\Users\kiran\Downloads\mysql\mysql-connector-java-8.0.17.jar

it worked out for me!