dmanjunath / node-redshift

A simple collection of tools to help you get started with Amazon Redshift from node.js
69 stars 48 forks source link

node-redshift issue #29

Open sachincloudnaut opened 5 years ago

sachincloudnaut commented 5 years ago

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

sethimcclaine commented 5 years ago

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