Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-redshift issue #29

Open
sachincloudnaut opened this issue Jul 29, 2019 · 1 comment
Open

node-redshift issue #29

sachincloudnaut opened this issue Jul 29, 2019 · 1 comment

Comments

@sachincloudnaut
Copy link

sachincloudnaut commented Jul 29, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants