简体   繁体   中英

Can`t connect to PostgreSQL database in Pentaho Kettle

I`m trying to connect to my PostgreSQL database. What I create a connection and click the button "Test", I receive an error message. I can connect to this db via pgadmin without any problems, so it is not a connection or credentials issue

I`m using Pentaho kettle 8.3, Windows, java version "1.8.0_231"

Error connecting to database [Name] :org.pentaho.di.core.exception.KettleDatabaseException: 
Error occurred while trying to connect to the database

Error connecting to database: (using class org.postgresql.Driver)
Ошибка при попытке подсоединения.

Full error stack: https://pastebin.com/cLiB288e

Try to add postgresql-42.1.1.jar in the /lib folder of PDI, restart the spoon and try again.

i faced 2 issues myself connecting to PostgreSQL few months back and following 2 things helped me

1.add postgres-42.1.1jar file in the 'lib' folder under PDI and restart the spoon.

  1. if the normal JDBC connection convention does not work for you try below tip

while configuring the connection specify host name as follows {HOST IP}:{HOST PORT}/{instance name}?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM