Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

cannot connect to postgresql Database

Dear Friends,
I tried to connect with localhost postgresql database but i got error as "connection failure".
i am using
Talend open studio Data integration- 5.4.1.r111943
Posgresql DB version - 9.1 x86 (localhost:5432)
I also attached screenshot.
Thanks in advance
with regards,
chandra
Labels (2)
10 Replies
Anonymous
Not applicable
Author

Hi,
Try,
Don't add Database,Schema details.

Thanks,
kumar
Anonymous
Not applicable
Author

Hi Kumar,
Still i got the same error, after i left empty for Database and Schema details
with regards,
chandra
Anonymous
Not applicable
Author

Hi,
I checked for me it's working fine.No issues
You are enter correct login and password.
Thanks,
kumar.talend
Anonymous
Not applicable
Author

Please read the error message: "Connection attempt timed out" and therefore the host or the port is wrong nothing else could have an impact at this state.
Anonymous
Not applicable
Author

Make sure you are accepting TCP/IP connections in your postgresl.conf and your pg_hba.conf. Are you able to connect remotely from another client like pgAdmin or SQuirrel? As mentioned, a timeout means there is no one home at that address/port.
Anonymous
Not applicable
Author

Hi krishnasamy,
Could you connect to your postgresql Database successfully by client without using talend studio?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi
Could you connect to your postgresql Database successfully by client without using talend studio?
Yes i can connect using PG admin and i can view the database.
my old talend scripts can connect to database and can insert the value.
But if i am Try to create new connection or test the new/ old connection then i get this error.
Thanks and regards
chandra
Anonymous
Not applicable
Author

Hi,
Is there any "X" mark in your postgresql component(missing jar?)
Usually, there are jars required for connection. As soon as you drag the component on the workspace, it would ask to download the particular jar files.
Best regards
Sabrina
0683p000009MENQ.png
Anonymous
Not applicable
Author

Hi Sabrina, so far we can say, the driver is loaded because we see an error message made from the driver.
It is definitely a problem caused by the connection parameters.
Sometimes Talend has the bad behaviour to quote context variables and one can overlook it very easely: I mean things like that:
"context.DB_Port"
instead of
context.DB_Port
This happens sometime while importing a job. I had sometime problems with the new password encryption feature which destroys the password also while importing a job.
Probably this is the problem.