keedio / flume-ng-sql-source

Flume Source to import data from SQL Databases
Apache License 2.0
264 stars 164 forks source link

Could not open connection from Postgresql #36

Closed ekapramudita closed 7 years ago

ekapramudita commented 7 years ago

Hi, I got some problem :

there are :

org.hibernate.exception.GenericJDBCException: Could not open connection

and

java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:278)

anyone can help?

mvalleavila commented 7 years ago

Hello,

Are you including the postgresSql Driver in your flume classpath? (https://github.com/keedio/flume-ng-sql-source#specific-installation-by-database-engine)

ekapramudita commented 7 years ago

Hi mvalleavila,

I missed that part. Now my connection work normally.

Thank you for help.

mvalleavila commented 7 years ago

No worries!