node-redshift icon indicating copy to clipboard operation
node-redshift copied to clipboard

node-redshift issue

Open sachincloudnaut opened this issue 6 years ago • 1 comments

Hi,

I am trying to write a simple node js app using node-redshift package. using the examples here -> https://www.npmjs.com/package/node-redshift but i am not sure how to provide the value for the "host " parameter.

Can someone suggest please

I am getting Error: getaddrinfo ENOTFOUND - surely I am not able to pas correct value for host parameter

sachincloudnaut avatar Jul 29 '19 09:07 sachincloudnaut

host will be something like "my-redshift-cluster.cyzcueaiqkep.us-east-1.redshift.amazonaws.com"

it is the ENDPOINT without the port

You can also parse it out of the JDBC URL

sethimcclaine avatar Aug 15 '19 17:08 sethimcclaine