Closed jacksnipe24 closed 5 years ago
Hi, Did you find the answer for this? I am also getting the same error. Can you please let us know whether it is because of the host name? or something else?
Thanks.
hey @Tomarr . i was passing wrong configuration object. in the example above host name is like
host: 'jdbc:redshift://my-redshift-link'
instead it should be
host: encodeURI(
'redshift-cluster-...........'
)
Please help ! I have redshift cluster and from sql workbench everything works fine, i can connect and work. I tried to connect to my database from node.js server. i installed this module, tried to use, but every time i was getting
error: getaddrinfo ENOTFOUND jdbc:....
(and my jdbc link)i tried with both raw and normal connection
here is my sample code
Every time it goes to connection error.