Connecting to Amazon Redshift
See original GitHub issueI’m trying to connect to Amazon Redshift using Node.js from an EC2 instance. I can connect using psql
psql -h {host} -U {username} -d {database} -p 5439
But not this library, it times out.
var client = new pg.Client({
user: {username},
database: {database},
password: {password},
port: 5432,
host: {host}
});
I also tried a connection string
postgres://{username}:{password}@{host}:5432/{database}
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Connecting to Amazon Redshift
To connect to Amazon Redshift clusters, from the Clusters page, expand Connect to Amazon Redshift clusters and do one of the following:.
Read more >Connecting to an Amazon Redshift cluster using SQL client tools
You can connect to Amazon Redshift clusters from SQL client tools over Java Database Connectivity (JDBC), Python, and Open Database Connectivity (ODBC) ......
Read more >Step 2: Connect to Your Amazon Redshift Cluster
Open the Amazon Redshift console at https://console.aws.amazon.com/redshift/ . · In the navigation pane, choose Clusters. · Choose the cluster name to open the ......
Read more >Configuring connections in Amazon Redshift
To connect to your cluster with your SQL client tool, you need the cluster connection string. You can find the cluster connection string...
Read more >Connecting to a database - Amazon Redshift
In the cluster details page, from the Databases tab, in the Databases or Datashare objects section, choose Connect to database to view database...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OH wow yes, thanks, well that’s embrassing
@RakeshKulangara I messed up the port in the connection info. Make sure you are using the correct port. Redshift defaults to 5439, which is different than postgres.