question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't connect to Redshift

See original GitHub issue

Hi there,

I’m loving using Sqlectron for connecting to my Postgres databases, but it’s still not working great for Redshift databases yet. In previous versions, it would connect but not be able to get results, and I think this is related to the schema work that’s talked about in https://github.com/sqlectron/sqlectron-gui/issues/153 However, in 1.17.0, there seems to be a regression where it can’t even connect anymore. Here’s the error:

Connection Error
unrecognized configuration parameter "application_name"

Based on this error cropping up in other projects, I think it’s related to newer pg libraries specifying a connection parameter that 8.4 didn’t support. Is there anything I can do to help troubleshoot this error further? I’m happy to run from a source checkout if you can point me to a likely place the error is coming from, or just generic developer documentation.

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
maxcnunescommented, Dec 12, 2016

I just realized that will not work 😦 Because each statement is executed separated. So the second statement will be executed with the default schema. I will try this week to merge this PR, so is possible to define the default schema https://github.com/sqlectron/sqlectron-gui/pull/257.

1reaction
maxcnunescommented, Dec 12, 2016

Probably your public schema is empty. And you are trying to access a db/table from a different schema. Unfortunately we do not support different schemas yet. Although there is a PR open to solve part of this problem. What you can do for now to at least be able to execute the query I guess is change the current schema inside the query http://stackoverflow.com/a/25014153/1050818.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't connect to my Amazon Redshift cluster
1. Open the Amazon Redshift console. · 2. Choose Clusters. · 3. Select the cluster to which you are trying to connect. ·...
Read more >
How to fix: can't connect to Amazon Redshift cluster - Bobcares
Log in to the Amazon Management Console and then open Amazon Redshift Console. · Select Clusters and then select the cluster to modify....
Read more >
can't connect to redshift database - Stack Overflow
I'm trying to connect to Redshift database from SQL Workbench/J using Postgre JDBC drivers but I can't get through. I get this error...
Read more >
Troubleshooting Amazon Redshift connection problems
Troubleshooting · Step 1. Test the connection · Step 2. Check for VPC peering or DNS error · Step 3. Check the VPC...
Read more >
Why can't I connect to my Amazon Redshift cluster? - YouTube
... AWS Knowledge Center: https://amzn.to/2SIerx2Gopal, an AWS Cloud Support Engineer, shows you what you can do if you cannot connect t...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found